# Logfile created on Tue Sep 25 20:30:42 +0100 2012 by logger.rb/1.2.6 Booted Spree using version 1.1.3 SQL (548.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (347.0ms) DELETE FROM "spree_option_types" SQL (378.0ms) DELETE FROM "spree_option_values" SQL (310.0ms) DELETE FROM "spree_properties" SQL (113.0ms) DELETE FROM "spree_product_properties" SQL (1057.0ms) DELETE FROM "spree_variants" SQL (603.0ms) DELETE FROM "spree_taxons" SQL (182.0ms) DELETE FROM "spree_taxonomies" SQL (541.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: # Current 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 (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 (NULL, 0, '2012-09-25 19:30:47.656000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 19:30:47.656000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:47.721000' WHERE "spree_products"."id" = 1 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, 1, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:47.734000' WHERE "spree_products"."id" = 1  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:47.746000' WHERE "spree_products"."id" = 1  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1  (1.0ms) 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::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-09-25 19:30:47.833000', 'test_pp_001', 'Test pp 001', '2012-09-25 19:30:47.833000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:30:47.883000', NULL, 1, '2012-09-25 19:30:47.883000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 1, "updated_at" = '2012-09-25 19:30:47.911000' WHERE "spree_product_properties"."id" = 1 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" != 1) 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-09-25 19:30:47.942000', 'Paintings', '2012-09-25 19:30:47.942000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 1 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-09-25 19:30:48.057000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1, '2012-09-25 19:30:48.057000') 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" = 1 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1, 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-09-25 19:30:48.095000', 'WaterColour', '2012-09-25 19:30:48.095000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 2 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-09-25 19:30:48.165000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 2, '2012-09-25 19:30:48.165000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (1, 2) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1) 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 (58.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 19:30:48.247000', 'mime_type', 0, 'Mime type', '2012-09-25 19:30:48.247000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 19:30:48.430000', 1, 1, 1, '2012-09-25 19:30:48.430000') 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" = 1 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 1) ORDER 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-09-25 19:30:48.482000', 'jpeg', 1, 1, NULL, '2012-09-25 19:30:48.482000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.502000' WHERE "spree_products"."id" = 1 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 1, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.513000' WHERE "spree_products"."id" = 1  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (2, 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" = 1 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 1) ORDER 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-09-25 19:30:48.554000', 'PDF', 1, 2, NULL, '2012-09-25 19:30:48.554000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.574000' WHERE "spree_products"."id" = 1 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 1, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.581000' WHERE "spree_products"."id" = 1  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (3, 2) 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" = 1 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 1) 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-09-25 19:30:48.663000', 'PNG', 1, 3, NULL, '2012-09-25 19:30:48.663000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.687000' WHERE "spree_products"."id" = 1 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, 1, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.695000' WHERE "spree_products"."id" = 1  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (4, 3) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("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" != 1) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 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" = 1 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 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" = 2 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 3 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" = 4 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" != 1) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.853000' WHERE "spree_products"."id" = 1  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 2 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.863000' WHERE "spree_products"."id" = 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.875000' WHERE "spree_products"."id" = 1  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 3 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.884000' WHERE "spree_products"."id" = 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 1 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.897000' WHERE "spree_products"."id" = 1  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 4 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:48.905000' WHERE "spree_products"."id" = 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" != 1) 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" = 1 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" = 1) 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-09-25 19:30:49.173000', 240, 1, 'Spree::Image', 1, '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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 1) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 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-09-25 19:30:54.316000' WHERE "spree_products"."id" = 1 Current 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 (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 (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-09-25 19:30:54.391000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 19:30:54.391000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.407000' WHERE "spree_products"."id" = 2 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, 2, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.420000' WHERE "spree_products"."id" = 2  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 5 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.442000' WHERE "spree_products"."id" = 2  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 2  (0.0ms) 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::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-09-25 19:30:54.470000', 'test_pp_003', 'Test pp 003', '2012-09-25 19:30:54.470000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:30:54.481000', NULL, 2, '2012-09-25 19:30:54.481000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 2, "updated_at" = '2012-09-25 19:30:54.500000' WHERE "spree_product_properties"."id" = 2 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" != 2) 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" = 1 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" = 2 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (2, 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-09-25 19:30:54.543000', 'Landscape', '2012-09-25 19:30:54.543000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 3 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-09-25 19:30:54.561000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 3, '2012-09-25 19:30:54.561000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (2, 3) 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-09-25 19:30:54.586000', 'Oils', '2012-09-25 19:30:54.586000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 4 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-09-25 19:30:54.600000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 4, '2012-09-25 19:30:54.600000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (2, 4) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 2) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 2 AND "spree_option_types"."id" = 1 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" = 2) ORDER BY 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-09-25 19:30:54.705000', 1, 1, 2, '2012-09-25 19:30:54.705000') 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" = 1 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.745000' WHERE "spree_products"."id" = 2 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 2, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.753000' WHERE "spree_products"."id" = 2  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (6, 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" = 1 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.805000' WHERE "spree_products"."id" = 2 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 2, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.813000' WHERE "spree_products"."id" = 2  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (7, 2) 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" = 1 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.868000' WHERE "spree_products"."id" = 2 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 2, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.887000' WHERE "spree_products"."id" = 2  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (8, 3) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 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" != 2) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 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" = 2 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 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" = 6 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" = 7 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 8 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" != 2) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.983000' WHERE "spree_products"."id" = 2  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 6 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.987000' WHERE "spree_products"."id" = 2 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.995000' WHERE "spree_products"."id" = 2  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 7 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:54.999000' WHERE "spree_products"."id" = 2 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 2 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:55.007000' WHERE "spree_products"."id" = 2  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 8 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:30:55.012000' WHERE "spree_products"."id" = 2 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 2) 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" = 5 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" = 5) 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-09-25 19:30:58.831000', 2424, 1, 'Spree::Image', 5, '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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 2) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 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-09-25 19:31:10.443000' WHERE "spree_products"."id" = 2 Current value 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-09-25 19:31:10.473000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 19:31:10.473000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.506000' WHERE "spree_products"."id" = 3 SQL (0.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, 3, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.533000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 9 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.543000' WHERE "spree_products"."id" = 3  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 3  (0.0ms) 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::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-09-25 19:31:10.583000', 'test_pp_002', 'Test pp 002', '2012-09-25 19:31:10.583000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:10.616000', NULL, 3, '2012-09-25 19:31:10.616000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 3, "updated_at" = '2012-09-25 19:31:10.624000' WHERE "spree_product_properties"."id" = 3 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-09-25 19:31:10.671000', NULL, 2, '2012-09-25 19:31:10.671000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 3, "updated_at" = '2012-09-25 19:31:10.686000' WHERE "spree_product_properties"."id" = 4 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-09-25 19:31:10.699000', 'yet_another_property', 'Yet another property', '2012-09-25 19:31:10.699000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:10.705000', NULL, 4, '2012-09-25 19:31:10.705000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 3, "updated_at" = '2012-09-25 19:31:10.709000' WHERE "spree_product_properties"."id" = 5 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" != 3) 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-09-25 19:31:10.723000', 'Drawings', '2012-09-25 19:31:10.723000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 5 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-09-25 19:31:10.747000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 5, '2012-09-25 19:31:10.747000') 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" = 3 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (3, 5) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 3) 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" = 3 AND "spree_option_types"."id" = 1 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" = 3) ORDER BY 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-09-25 19:31:10.841000', 1, 1, 3, '2012-09-25 19:31:10.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" = 1 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.915000' WHERE "spree_products"."id" = 3 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 3, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.920000' WHERE "spree_products"."id" = 3  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (10, 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" = 1 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.933000' WHERE "spree_products"."id" = 3 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 3, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.938000' WHERE "spree_products"."id" = 3  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (11, 2) 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" = 1 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.954000' WHERE "spree_products"."id" = 3 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 3, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:10.960000' WHERE "spree_products"."id" = 3  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (12, 3) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 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-09-25 19:31:10.970000', 'print_type', 0, 'Print type', '2012-09-25 19:31:10.970000') 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" = 3 AND "spree_option_types"."id" = 2 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" = 3) ORDER BY 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-09-25 19:31:10.990000', 2, 2, 3, '2012-09-25 19:31:10.990000') 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" = 2 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 2) 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-09-25 19:31:11.001000', 'black_white', 2, 1, NULL, '2012-09-25 19:31:11.001000')  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.052000' WHERE "spree_products"."id" = 3 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 3, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.057000' WHERE "spree_products"."id" = 3  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (13, 4) 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" = 2 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 2) ORDER 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-09-25 19:31:11.064000', 'colour', 2, 2, NULL, '2012-09-25 19:31:11.064000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.085000' WHERE "spree_products"."id" = 3 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 3, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.223000' WHERE "spree_products"."id" = 3  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (14, 5) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 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" != 3) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 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" = 3 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 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" = 10 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 11 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" = 12 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" = 13 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 14 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" != 3) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.337000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 10 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.348000' WHERE "spree_products"."id" = 3 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.354000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 11 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.360000' WHERE "spree_products"."id" = 3 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.380000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 12 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.385000' WHERE "spree_products"."id" = 3 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.399000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 13 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.406000' WHERE "spree_products"."id" = 3 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 3 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.413000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 14 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:11.416000' WHERE "spree_products"."id" = 3 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 3) 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" = 9 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" = 9) 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-09-25 19:31:11.463000', 240, 1, 'Spree::Image', 9, '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" != 3) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 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-09-25 19:31:13.966000' WHERE "spree_products"."id" = 3 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" = 1 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 = 1) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1)) Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1 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" = 1 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 = 1) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 1)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 2 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 = 5) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 2)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 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 = 9) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 3))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (132.0ms) DELETE FROM "spree_products" SQL (26.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.0ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (7.0ms) DELETE FROM "spree_variants" SQL (118.0ms) DELETE FROM "spree_taxons" SQL (9.0ms) DELETE FROM "spree_taxonomies" SQL (8.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 (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 (173.0ms) INSERT INTO "spree_products" ("available_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-09-25 19:31:15.333000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 19:31:15.333000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:15.521000' WHERE "spree_products"."id" = 4 SQL (81.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, 4, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:15.608000' WHERE "spree_products"."id" = 4  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 15 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:15.619000' WHERE "spree_products"."id" = 4  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 4  (0.0ms) 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::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-09-25 19:31:15.644000', 'test_pp_001', 'Test pp 001', '2012-09-25 19:31:15.644000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:15.653000', NULL, 5, '2012-09-25 19:31:15.653000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 4, "updated_at" = '2012-09-25 19:31:15.658000' WHERE "spree_product_properties"."id" = 6 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" != 4) LIMIT 1 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-09-25 19:31:15.759000', 'Paintings', '2012-09-25 19:31:15.759000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 6 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (133.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 19:31:15.776000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 6, '2012-09-25 19:31:15.776000') 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" = 4 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (4, 6) 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-09-25 19:31:15.924000', 'WaterColour', '2012-09-25 19:31:15.924000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 7 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-09-25 19:31:15.935000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 7, '2012-09-25 19:31:15.935000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (4, 7) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 4) LIMIT 1 Spree::OptionType Load (0.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 (75.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 19:31:15.956000', 'mime_type', 0, 'Mime type', '2012-09-25 19:31:15.956000') 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" = 4 AND "spree_option_types"."id" = 3 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" = 4) ORDER BY 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-09-25 19:31:16.087000', 3, 1, 4, '2012-09-25 19:31:16.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" = 3 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 3) 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-09-25 19:31:16.103000', 'jpeg', 3, 1, NULL, '2012-09-25 19:31:16.103000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.113000' WHERE "spree_products"."id" = 4 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 4, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.117000' WHERE "spree_products"."id" = 4  (68.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (16, 6) 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" = 3 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 3) ORDER 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-09-25 19:31:16.196000', 'PDF', 3, 2, NULL, '2012-09-25 19:31:16.196000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.211000' WHERE "spree_products"."id" = 4 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 4, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.218000' WHERE "spree_products"."id" = 4  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (17, 7) 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" = 3 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 3) ORDER 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-09-25 19:31:16.232000', 'PNG', 3, 3, NULL, '2012-09-25 19:31:16.232000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.248000' WHERE "spree_products"."id" = 4 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 4, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.252000' WHERE "spree_products"."id" = 4  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (18, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("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" != 4) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 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" = 4 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 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" = 16 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 17 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" = 18 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" != 4) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.321000' WHERE "spree_products"."id" = 4  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 16 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.325000' WHERE "spree_products"."id" = 4 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.329000' WHERE "spree_products"."id" = 4  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 17 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.333000' WHERE "spree_products"."id" = 4 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 4 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.337000' WHERE "spree_products"."id" = 4  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 18 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:16.343000' WHERE "spree_products"."id" = 4 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 4) 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" = 15 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" = 15) 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-09-25 19:31:16.510000', 240, 1, 'Spree::Image', 15, 'Spree::Variant') 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" != 4) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 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-09-25 19:31:18.087000' WHERE "spree_products"."id" = 4 Row org.apache.poi.hssf.usermodel.HSSFRow@3d9957d3 succesfully SAVED : ID 4 Current value to assign : DEMO_002 Current value to 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-09-25 19:31:18.150000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 19:31:18.150000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.160000' WHERE "spree_products"."id" = 5 SQL (0.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, 5, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.167000' WHERE "spree_products"."id" = 5  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 19 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.176000' WHERE "spree_products"."id" = 5  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 5  (0.0ms) 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::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-09-25 19:31:18.201000', 'test_pp_003', 'Test pp 003', '2012-09-25 19:31:18.201000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:18.209000', NULL, 6, '2012-09-25 19:31:18.209000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 5, "updated_at" = '2012-09-25 19:31:18.215000' WHERE "spree_product_properties"."id" = 7 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" != 5) 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" = 6 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" = 5 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (5, 6) 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-09-25 19:31:18.234000', 'Landscape', '2012-09-25 19:31:18.234000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 8 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-09-25 19:31:18.243000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 8, '2012-09-25 19:31:18.243000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (5, 8) 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-09-25 19:31:18.260000', 'Oils', '2012-09-25 19:31:18.260000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 9 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-09-25 19:31:18.268000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 9, '2012-09-25 19:31:18.268000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (5, 9) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 5) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 5 AND "spree_option_types"."id" = 3 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" = 5) ORDER BY 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-09-25 19:31:18.294000', 3, 1, 5, '2012-09-25 19:31:18.294000') 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" = 3 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.306000' WHERE "spree_products"."id" = 5 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, 5, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.311000' WHERE "spree_products"."id" = 5  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (20, 6) 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" = 3 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.328000' WHERE "spree_products"."id" = 5 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 5, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.333000' WHERE "spree_products"."id" = 5  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (21, 7) 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" = 3 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.349000' WHERE "spree_products"."id" = 5 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 5, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.381000' WHERE "spree_products"."id" = 5  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (22, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 AND ("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" != 5) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 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" = 5 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" = 5 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" = 20 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 21 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 22 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" != 5) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.433000' WHERE "spree_products"."id" = 5  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 20 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.438000' WHERE "spree_products"."id" = 5 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.442000' WHERE "spree_products"."id" = 5  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 21 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.446000' WHERE "spree_products"."id" = 5 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 5 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.450000' WHERE "spree_products"."id" = 5  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 22 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:18.454000' WHERE "spree_products"."id" = 5 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 5) 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" = 19 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" = 19) 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-09-25 19:31:18.501000', 2424, 1, 'Spree::Image', 19, '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" != 5) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 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-09-25 19:31:22.769000' WHERE "spree_products"."id" = 5 Row org.apache.poi.hssf.usermodel.HSSFRow@5d603063 succesfully SAVED : ID 5 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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 (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-09-25 19:31:22.802000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 19:31:22.802000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:22.818000' WHERE "spree_products"."id" = 6 SQL (0.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, 6, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:22.824000' WHERE "spree_products"."id" = 6  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 23 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:22.830000' WHERE "spree_products"."id" = 6  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 6  (0.0ms) 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::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-09-25 19:31:22.852000', 'test_pp_002', 'Test pp 002', '2012-09-25 19:31:22.852000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:22.857000', NULL, 7, '2012-09-25 19:31:22.857000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 6, "updated_at" = '2012-09-25 19:31:22.870000' WHERE "spree_product_properties"."id" = 8 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-09-25 19:31:22.886000', NULL, 6, '2012-09-25 19:31:22.886000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 6, "updated_at" = '2012-09-25 19:31:22.891000' WHERE "spree_product_properties"."id" = 9 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-09-25 19:31:22.902000', 'yet_another_property', 'Yet another property', '2012-09-25 19:31:22.902000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:22.912000', NULL, 8, '2012-09-25 19:31:22.912000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 6, "updated_at" = '2012-09-25 19:31:22.919000' WHERE "spree_product_properties"."id" = 10 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" != 6) 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-09-25 19:31:22.935000', 'Drawings', '2012-09-25 19:31:22.935000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 10 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-09-25 19:31:22.949000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 10, '2012-09-25 19:31:22.949000') 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" = 6 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (6, 10) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 6) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 6 AND "spree_option_types"."id" = 3 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" = 6) ORDER BY 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-09-25 19:31:23.010000', 3, 1, 6, '2012-09-25 19:31:23.010000') 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" = 3 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.020000' WHERE "spree_products"."id" = 6 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 6, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.024000' WHERE "spree_products"."id" = 6  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (24, 6) 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" = 3 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.034000' WHERE "spree_products"."id" = 6 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 6, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.042000' WHERE "spree_products"."id" = 6  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (25, 7) 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" = 3 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.078000' WHERE "spree_products"."id" = 6 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 6, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.086000' WHERE "spree_products"."id" = 6  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (26, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 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-09-25 19:31:23.096000', 'print_type', 0, 'Print type', '2012-09-25 19:31:23.096000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 19:31:23.122000', 4, 2, 6, '2012-09-25 19:31:23.122000') 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" = 4 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 4) ORDER 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-09-25 19:31:23.134000', 'black_white', 4, 1, NULL, '2012-09-25 19:31:23.134000')  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.178000' WHERE "spree_products"."id" = 6 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, 6, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.184000' WHERE "spree_products"."id" = 6  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (27, 9) 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" = 4 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 4) ORDER 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-09-25 19:31:23.194000', 'colour', 4, 2, NULL, '2012-09-25 19:31:23.194000')  (1.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.207000' WHERE "spree_products"."id" = 6 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 6, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.213000' WHERE "spree_products"."id" = 6  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (28, 10) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("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" != 6) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 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" = 6 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" = 6 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" = 24 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 26 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 27 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 28 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" != 6) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.303000' WHERE "spree_products"."id" = 6  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 24 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.309000' WHERE "spree_products"."id" = 6 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.317000' WHERE "spree_products"."id" = 6  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 25 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.323000' WHERE "spree_products"."id" = 6 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.330000' WHERE "spree_products"."id" = 6  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 26 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.335000' WHERE "spree_products"."id" = 6 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.340000' WHERE "spree_products"."id" = 6  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 27 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.346000' WHERE "spree_products"."id" = 6 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 6 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.354000' WHERE "spree_products"."id" = 6  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 28 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:23.359000' WHERE "spree_products"."id" = 6 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 6) 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" = 23 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" = 23) 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-09-25 19:31:23.380000', 240, 1, 'Spree::Image', 23, '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" != 6) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 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-09-25 19:31:24.213000' WHERE "spree_products"."id" = 6 Row org.apache.poi.hssf.usermodel.HSSFRow@25afbdc7 succesfully SAVED : ID 6 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::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" = 4 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 = 15) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 4)) 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" = 4 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 = 15) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 4)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 5 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 = 19) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 5)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 6 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 = 23) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 6))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (104.0ms) DELETE FROM "spree_products" SQL (24.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (8.0ms) DELETE FROM "spree_option_types" SQL (8.0ms) DELETE FROM "spree_option_values" SQL (8.0ms) DELETE FROM "spree_properties" SQL (28.0ms) DELETE FROM "spree_product_properties" SQL (8.0ms) DELETE FROM "spree_variants" SQL (10.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (10.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  (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-09-25 19:31:24.842000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 19:31:24.842000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:24.849000' WHERE "spree_products"."id" = 7 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, 7, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:24.855000' WHERE "spree_products"."id" = 7  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 29 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:24.865000' WHERE "spree_products"."id" = 7  (0.0ms) 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 (1.0ms) 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.0ms) 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::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-09-25 19:31:24.882000', 'test_pp_001', 'Test pp 001', '2012-09-25 19:31:24.882000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:24.888000', NULL, 9, '2012-09-25 19:31:24.888000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 7, "updated_at" = '2012-09-25 19:31:24.893000' WHERE "spree_product_properties"."id" = 11 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" != 7) 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-09-25 19:31:24.902000', 'Paintings', '2012-09-25 19:31:24.902000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 11 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-09-25 19:31:24.910000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 11, '2012-09-25 19:31:24.910000') 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" = 7 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (7, 11) 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-09-25 19:31:24.923000', 'WaterColour', '2012-09-25 19:31:24.923000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 12 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-09-25 19:31:24.932000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 12, '2012-09-25 19:31:24.932000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (7, 12) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 7) 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" != 7) 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-09-25 19:31:24.957000', 'mime_type', 0, 'Mime type', '2012-09-25 19:31:24.957000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 19:31:24.974000', 5, 1, 7, '2012-09-25 19:31:24.974000') 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" = 5 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 5) 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-09-25 19:31:24.981000', 'jpeg', 5, 1, NULL, '2012-09-25 19:31:24.981000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:24.990000' WHERE "spree_products"."id" = 7 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 7, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:24.994000' WHERE "spree_products"."id" = 7  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (30, 11) 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" = 5 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 5) ORDER 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-09-25 19:31:25.004000', 'PDF', 5, 2, NULL, '2012-09-25 19:31:25.004000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.013000' WHERE "spree_products"."id" = 7 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 7, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.017000' WHERE "spree_products"."id" = 7  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (31, 12) 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" = 5 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 5) 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-09-25 19:31:25.037000', 'PNG', 5, 3, NULL, '2012-09-25 19:31:25.037000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.057000' WHERE "spree_products"."id" = 7 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 7, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.061000' WHERE "spree_products"."id" = 7  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (32, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 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" != 7) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 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" = 7 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 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" = 30 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 31 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 32 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" != 7) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.110000' WHERE "spree_products"."id" = 7  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 30 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.114000' WHERE "spree_products"."id" = 7 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.118000' WHERE "spree_products"."id" = 7  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 31 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.122000' WHERE "spree_products"."id" = 7 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 7 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.127000' WHERE "spree_products"."id" = 7  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 32 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.131000' WHERE "spree_products"."id" = 7 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" != 7) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 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-09-25 19:31:25.140000' WHERE "spree_products"."id" = 7 Row org.apache.poi.hssf.usermodel.HSSFRow@562e6f02 succesfully SAVED : ID 7 Current value to assign : DEMO_002 Current value to 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-09-25 19:31:25.175000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 19:31:25.175000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.183000' WHERE "spree_products"."id" = 8 SQL (0.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, 8, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.187000' WHERE "spree_products"."id" = 8  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 33 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.192000' WHERE "spree_products"."id" = 8  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 8  (0.0ms) 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::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-09-25 19:31:25.207000', 'test_pp_003', 'Test pp 003', '2012-09-25 19:31:25.207000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:25.212000', NULL, 10, '2012-09-25 19:31:25.212000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 8, "updated_at" = '2012-09-25 19:31:25.217000' WHERE "spree_product_properties"."id" = 12 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" != 8) 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" = 11 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" = 8 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (8, 11) 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-09-25 19:31:25.232000', 'Oils', '2012-09-25 19:31:25.232000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 13 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-09-25 19:31:25.241000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 13, '2012-09-25 19:31:25.241000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (8, 13) 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" = 11 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" = 11 AND "spree_taxons"."taxonomy_id" = 11 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" = 11 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-09-25 19:31:25.276000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 11, 'paintings/nature', 0, 8, 11, '2012-09-25 19:31:25.276000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 11 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 14 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 = 14 THEN 11 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 11 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 14 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 14 AND "spree_taxons"."taxonomy_id" = 11 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" = 14 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-09-25 19:31:25.310000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 14, 'paintings/nature/seascape', 0, 10, 11, '2012-09-25 19:31:25.310000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 14 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 15 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 = 15 THEN 14 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 14 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 15 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (8, 14)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (8, 15) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 8) 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" = 8 AND "spree_option_types"."id" = 5 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" = 8) ORDER BY 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-09-25 19:31:25.352000', 5, 1, 8, '2012-09-25 19:31:25.352000') 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" = 5 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.371000' WHERE "spree_products"."id" = 8 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 8, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.376000' WHERE "spree_products"."id" = 8  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (34, 11) 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" = 5 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.393000' WHERE "spree_products"."id" = 8 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 8, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.399000' WHERE "spree_products"."id" = 8  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (35, 12) 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" = 5 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.409000' WHERE "spree_products"."id" = 8 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 8, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.414000' WHERE "spree_products"."id" = 8  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (36, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 AND ("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" != 8) 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" != 8) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 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" = 8 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" = 8 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" = 34 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 35 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 36 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" != 8) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.487000' WHERE "spree_products"."id" = 8  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 34 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.494000' WHERE "spree_products"."id" = 8 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.502000' WHERE "spree_products"."id" = 8  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 35 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.507000' WHERE "spree_products"."id" = 8 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 8 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.516000' WHERE "spree_products"."id" = 8  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 36 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.522000' WHERE "spree_products"."id" = 8 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 8) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 8 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-09-25 19:31:25.534000' WHERE "spree_products"."id" = 8 Row org.apache.poi.hssf.usermodel.HSSFRow@58c0897c succesfully SAVED : ID 8 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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-09-25 19:31:25.568000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 19:31:25.568000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.582000' WHERE "spree_products"."id" = 9 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, 9, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.592000' WHERE "spree_products"."id" = 9  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 37 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.598000' 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::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) 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::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-09-25 19:31:25.643000', 'test_pp_002', 'Test pp 002', '2012-09-25 19:31:25.643000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:25.655000', NULL, 11, '2012-09-25 19:31:25.655000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 9, "updated_at" = '2012-09-25 19:31:25.666000' WHERE "spree_product_properties"."id" = 13 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-09-25 19:31:25.674000', NULL, 10, '2012-09-25 19:31:25.674000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 9, "updated_at" = '2012-09-25 19:31:25.678000' WHERE "spree_product_properties"."id" = 14 Created New ProductProperty # Spree::Property Load (1.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-09-25 19:31:25.685000', 'yet_another_property', 'Yet another property', '2012-09-25 19:31:25.685000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:25.691000', NULL, 12, '2012-09-25 19:31:25.691000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 9, "updated_at" = '2012-09-25 19:31:25.695000' WHERE "spree_product_properties"."id" = 15 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" != 9) 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-09-25 19:31:25.704000', 'Drawings', '2012-09-25 19:31:25.704000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 14 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-09-25 19:31:25.718000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 14, '2012-09-25 19:31:25.718000') 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" = 9 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (9, 16) 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" = 11 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" = 11 AND "spree_taxons"."taxonomy_id" = 11 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" = 11 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-09-25 19:31:25.755000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 11, 'paintings/landscape', 0, 14, 11, '2012-09-25 19:31:25.755000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 11 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 17 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 = 17 THEN 11 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 11 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 17 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (9, 17)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (9, 11) 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" != 9) 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" != 9) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 9 AND "spree_option_types"."id" = 5 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" = 9) 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-09-25 19:31:25.828000', 5, 1, 9, '2012-09-25 19:31:25.828000') 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" = 5 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.846000' WHERE "spree_products"."id" = 9 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, 9, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.855000' WHERE "spree_products"."id" = 9  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (38, 11) 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" = 5 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.882000' WHERE "spree_products"."id" = 9 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 9, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.892000' WHERE "spree_products"."id" = 9  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (39, 12) 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" = 5 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.910000' WHERE "spree_products"."id" = 9 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 9, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:25.917000' WHERE "spree_products"."id" = 9  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (40, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 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-09-25 19:31:25.932000', 'print_type', 0, 'Print type', '2012-09-25 19:31:25.932000') 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" = 9 AND "spree_option_types"."id" = 6 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" = 9) 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-09-25 19:31:25.953000', 6, 2, 9, '2012-09-25 19:31:25.953000') 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" = 6 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 6) ORDER 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-09-25 19:31:25.995000', 'black_white', 6, 1, NULL, '2012-09-25 19:31:25.995000')  (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::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.029000' WHERE "spree_products"."id" = 9 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 9, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.038000' WHERE "spree_products"."id" = 9  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (41, 14) 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" = 6 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 6) 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-09-25 19:31:26.053000', 'colour', 6, 2, NULL, '2012-09-25 19:31:26.053000')  (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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.066000' WHERE "spree_products"."id" = 9 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 9, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.073000' WHERE "spree_products"."id" = 9  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (42, 15) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("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" != 9) LIMIT 1  (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)  (1.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::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 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" = 38 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" = 39 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" = 40 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 41 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 42 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" != 9) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.150000' WHERE "spree_products"."id" = 9  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 38 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.156000' WHERE "spree_products"."id" = 9 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.163000' WHERE "spree_products"."id" = 9  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 39 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.167000' WHERE "spree_products"."id" = 9 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.174000' WHERE "spree_products"."id" = 9  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 40 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.180000' WHERE "spree_products"."id" = 9 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.188000' WHERE "spree_products"."id" = 9  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 41 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.195000' WHERE "spree_products"."id" = 9 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.201000' WHERE "spree_products"."id" = 9  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 42 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.207000' WHERE "spree_products"."id" = 9 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 9) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 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-09-25 19:31:26.224000' WHERE "spree_products"."id" = 9 Row org.apache.poi.hssf.usermodel.HSSFRow@2d917ec succesfully SAVED : ID 9 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  (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 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" = 9 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 = 37) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 9)) Excel Loader processing 70 rows Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 9 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 9 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 = 37) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 9)) SQL (9.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (9.0ms) DELETE FROM "spree_option_types" SQL (15.0ms) DELETE FROM "spree_option_values" SQL (8.0ms) DELETE FROM "spree_properties" SQL (11.0ms) DELETE FROM "spree_product_properties" SQL (8.0ms) DELETE FROM "spree_variants" SQL (10.0ms) DELETE FROM "spree_taxons" SQL (77.0ms) DELETE FROM "spree_taxonomies" SQL (58.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-09-25 19:31:26.825000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 19:31:26.825000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.838000' WHERE "spree_products"."id" = 10 SQL (0.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, 10, 'MULTI_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.847000' WHERE "spree_products"."id" = 10  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 43 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:26.856000' WHERE "spree_products"."id" = 10  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 10  (0.0ms) 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::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-09-25 19:31:26.875000', 'test_pp_001', 'Test pp 001', '2012-09-25 19:31:26.875000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:26.883000', NULL, 13, '2012-09-25 19:31:26.883000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 10, "updated_at" = '2012-09-25 19:31:26.888000' WHERE "spree_product_properties"."id" = 16 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" != 10) 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-09-25 19:31:26.896000', 'Paintings', '2012-09-25 19:31:26.896000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 15 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-09-25 19:31:26.906000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 15, '2012-09-25 19:31:26.906000') 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" = 10 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (10, 18) 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-09-25 19:31:26.921000', 'WaterColour', '2012-09-25 19:31:26.921000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 16 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-09-25 19:31:26.928000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 16, '2012-09-25 19:31:26.928000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (10, 19) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 10) LIMIT 1 Spree::OptionType Load (0.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-09-25 19:31:26.952000', 'mime_type', 0, 'Mime type', '2012-09-25 19:31:26.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" = 10 AND "spree_option_types"."id" = 7 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" = 10) ORDER BY 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-09-25 19:31:26.977000', 7, 1, 10, '2012-09-25 19:31:26.977000') 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" = 7 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 7) 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-09-25 19:31:26.990000', 'jpeg', 7, 1, NULL, '2012-09-25 19:31:26.990000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.008000' WHERE "spree_products"."id" = 10 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 10, 'MULTI_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.017000' WHERE "spree_products"."id" = 10  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (44, 16) 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" = 7 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 7) 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-09-25 19:31:27.030000', 'PDF', 7, 2, NULL, '2012-09-25 19:31:27.030000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.042000' WHERE "spree_products"."id" = 10 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, 10, 'MULTI_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.048000' WHERE "spree_products"."id" = 10  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (45, 17) 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" = 7 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 7) 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-09-25 19:31:27.060000', 'PNG', 7, 3, NULL, '2012-09-25 19:31:27.060000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.072000' WHERE "spree_products"."id" = 10 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, 10, 'MULTI_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.078000' WHERE "spree_products"."id" = 10  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (46, 18) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("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" != 10) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 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" = 10 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" = 10 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" = 44 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 45 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 46 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" != 10) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 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" = 10 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.136000' WHERE "spree_products"."id" = 10  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 44 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.140000' WHERE "spree_products"."id" = 10 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.144000' WHERE "spree_products"."id" = 10  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 45 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.146000' WHERE "spree_products"."id" = 10 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 10 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.150000' WHERE "spree_products"."id" = 10  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 46 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:27.156000' WHERE "spree_products"."id" = 10 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 10) 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" = 43 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" = 43) 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-09-25 19:31:27.173000', 240, 1, 'Spree::Image', 43, '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" != 10) LIMIT 1 Spree::Asset Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 43) 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-09-25 19:31:28.034000', 240, 2, 'Spree::Image', 43, '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" != 10) LIMIT 1 Spree::Asset Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 43) 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-09-25 19:31:28.884000', 240, 3, 'Spree::Image', 43, '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-product-for-ar-loader' AND "spree_products"."id" != 10) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 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-09-25 19:31:29.681000' WHERE "spree_products"."id" = 10 Row org.apache.poi.hssf.usermodel.HSSFRow@525e3301 succesfully SAVED : ID 10 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  (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-09-25 19:31:29.710000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 19:31:29.710000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.722000' WHERE "spree_products"."id" = 11 SQL (0.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, 11, 'MULTI_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.728000' WHERE "spree_products"."id" = 11  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 47 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.736000' WHERE "spree_products"."id" = 11  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 11  (0.0ms) 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::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-09-25 19:31:29.763000', 'test_pp_003', 'Test pp 003', '2012-09-25 19:31:29.763000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 19:31:29.770000', NULL, 14, '2012-09-25 19:31:29.770000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 11, "updated_at" = '2012-09-25 19:31:29.779000' WHERE "spree_product_properties"."id" = 17 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" != 11) 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" = 15 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" = 11 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (11, 18) 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-09-25 19:31:29.801000', 'Landscape', '2012-09-25 19:31:29.801000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 17 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-09-25 19:31:29.813000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 17, '2012-09-25 19:31:29.813000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (11, 20) 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-09-25 19:31:29.827000', 'Oils', '2012-09-25 19:31:29.827000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 18 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-09-25 19:31:29.836000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 18, '2012-09-25 19:31:29.836000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (11, 21) 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" != 11) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 11 AND "spree_option_types"."id" = 7 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" = 11) ORDER BY 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-09-25 19:31:29.871000', 7, 1, 11, '2012-09-25 19:31:29.871000') 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" = 7 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.889000' WHERE "spree_products"."id" = 11 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 11, 'MULTI_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.894000' WHERE "spree_products"."id" = 11  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (48, 16) 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" = 7 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.905000' WHERE "spree_products"."id" = 11 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 11, 'MULTI_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.910000' WHERE "spree_products"."id" = 11  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (49, 17) 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" = 7 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.924000' WHERE "spree_products"."id" = 11 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 11, 'MULTI_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:29.933000' WHERE "spree_products"."id" = 11  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (50, 18) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 AND ("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" != 11) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 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" = 11 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" = 11 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" = 48 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 49 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 50 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" != 11) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 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" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:30.001000' WHERE "spree_products"."id" = 11  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 48 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:30.005000' WHERE "spree_products"."id" = 11 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:30.009000' WHERE "spree_products"."id" = 11  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 49 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:30.012000' WHERE "spree_products"."id" = 11 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 11 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:30.015000' WHERE "spree_products"."id" = 11  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 50 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 19:31:30.022000' WHERE "spree_products"."id" = 11 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 11) 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" = 47 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" = 47) 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-09-25 19:31:30.105000', 2424, 1, 'Spree::Image', 47, 'Spree::Variant') 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" = 47) 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-09-25 19:31:36.364000', 240, 2, 'Spree::Image', 47, 'Spree::Variant') 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-excel-load-via-jruby' AND "spree_products"."id" != 11) 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" != 11) 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" != 11) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 11 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-09-25 19:31:37.162000' WHERE "spree_products"."id" = 11 Row org.apache.poi.hssf.usermodel.HSSFRow@429db818 succesfully SAVED : ID 11 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 (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  (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 (7.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (3.5ms) DELETE FROM "spree_products" SQL (40.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_option_types" SQL (10.2ms) DELETE FROM "spree_option_values" SQL (16.3ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (42.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:25 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:25 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.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, 30 Sep 2012 13:19: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", 19], ["updated_at", Sun, 30 Sep 2012 13:19:25 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 13:19:25 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", 19], ["updated_at", Sun, 30 Sep 2012 13:19:25 UTC +00:00]]  (4.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, 30 Sep 2012 13:19:25 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", 19], ["updated_at", Sun, 30 Sep 2012 13:19:25 UTC +00:00]]  (4.1ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.2ms) 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 (2.6ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (4.9ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 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, 30 Sep 2012 13:19: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", 20], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:19:26 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", 20], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:19:26 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", 20], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (4.2ms) 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" = 20 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 20 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 20 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.9ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (5.7ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:26 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.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, 30 Sep 2012 13:19: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", 21], ["updated_at", Sun, 30 Sep 2012 13:19:26 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.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, 30 Sep 2012 13:19: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", 21], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:19: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", 21], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (5.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (4.5ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Taxon Load (0.2ms) 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 22], ["updated_at", Sun, 30 Sep 2012 13:19:26 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", Sun, 30 Sep 2012 13:19: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", 22], ["updated_at", Sun, 30 Sep 2012 13:19:26 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", Sun, 30 Sep 2012 13:19: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", 22], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (4.1ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (3.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Taxon Load (0.2ms) 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 23], ["updated_at", Sun, 30 Sep 2012 13:19:26 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 (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, 30 Sep 2012 13:19: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", 23], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (5.0ms) 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", Sun, 30 Sep 2012 13:19: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", 23], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]]  (4.9ms) 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.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.8ms) 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 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.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", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.649831' WHERE "spree_products"."id" = 12 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.652268' WHERE "spree_products"."id" = 12  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 51 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.656430' 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::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, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:26 UTC +00:00], ["product_id", nil], ["property_id", 15], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 12, "updated_at" = '2012-09-30 13:19:26.679052' 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-product-for-ar-loader' AND "spree_products"."id" != 12) 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, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 24 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 24], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 12 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (12, 37) 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, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 25], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (12, 38) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 12) 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", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:26 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" = 12 AND "spree_option_types"."id" = 8 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.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00], ["option_type_id", 8], ["position", 1], ["product_id", 12], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 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" = 8) ORDER BY position 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, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "jpeg"], ["option_type_id", 8], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.755923' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 12], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.757266' WHERE "spree_products"."id" = 12  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (19, 52) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 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" = 8) ORDER BY position 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, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "PDF"], ["option_type_id", 8], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.763988' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 12], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.765245' WHERE "spree_products"."id" = 12  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (53, 20) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 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" = 8) ORDER BY position 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, 30 Sep 2012 13:19:26 UTC +00:00], ["name", "PNG"], ["option_type_id", 8], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.769887' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 12], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.771119' WHERE "spree_products"."id" = 12  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (21, 54) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 12]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 12) LIMIT 1  (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)  (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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC 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-product-for-ar-loader' AND "spree_products"."id" != 12) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.817967' WHERE "spree_products"."id" = 12  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 52 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.819143' WHERE "spree_products"."id" = 12 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.820489' WHERE "spree_products"."id" = 12  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 53 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.821457' WHERE "spree_products"."id" = 12 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.822804' WHERE "spree_products"."id" = 12  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 54 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:26.823835' WHERE "spree_products"."id" = 12 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 12) 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" = 51 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 51) 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, 30 Sep 2012 13:19:26 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 51], ["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" != 12) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 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-09-30 13:19:29.046010' WHERE "spree_products"."id" = 12 Current 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.3ms) INSERT INTO "spree_products" ("available_on", "count_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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:29 UTC +00:00]] 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-09-30 13:19:29.057657' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 13], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.059420' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 55 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.061455' 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.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::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, 30 Sep 2012 13:19:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:29 UTC +00:00], ["product_id", nil], ["property_id", 16], ["updated_at", Sun, 30 Sep 2012 13:19:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 13, "updated_at" = '2012-09-30 13:19:29.070014' 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-excel-load-via-jruby' 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 24 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" = 13 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 37) Spree::Taxonomy Load (0.3ms) 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, 30 Sep 2012 13:19:29 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:19:29 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.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 26], ["updated_at", Sun, 30 Sep 2012 13:19:29 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 39) 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, 30 Sep 2012 13:19:29 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:29 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 27], ["updated_at", Sun, 30 Sep 2012 13:19:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 40) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 13) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 13 AND "spree_option_types"."id" = 8 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 (26.5ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:29 UTC +00:00], ["option_type_id", 8], ["position", 1], ["product_id", 13], ["updated_at", Sun, 30 Sep 2012 13:19:29 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:29.130033' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.131586' WHERE "spree_products"."id" = 13  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (19, 56) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:29.135089' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.136482' WHERE "spree_products"."id" = 13  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (20, 57) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:29.139744' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.141053' WHERE "spree_products"."id" = 13  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (21, 58) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 13]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.2ms) 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 (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.1ms) 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.1ms) 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.162048' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 56 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.164763' WHERE "spree_products"."id" = 13 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-09-30 13:19:29.168060' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 57 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.169924' 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-09-30 13:19:29.171868' WHERE "spree_products"."id" = 13  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 58 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:29.173510' WHERE "spree_products"."id" = 13 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 13) 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" = 55 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" = 55) 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", Sun, 30 Sep 2012 13:19:29 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 55], ["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" != 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" = 11, "updated_at" = '2012-09-30 13:19:30.802131' WHERE "spree_products"."id" = 13 Current value 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.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, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:30 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-09-30 13:19:30.817558' 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_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.819218' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 59 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.821211' 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_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:30 UTC +00:00], ["product_id", nil], ["property_id", 17], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 14, "updated_at" = '2012-09-30 13:19:30.830508' WHERE "spree_product_properties"."id" = 20 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, 30 Sep 2012 13:19:30 UTC +00:00], ["product_id", nil], ["property_id", 16], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 14, "updated_at" = '2012-09-30 13:19:30.834124' WHERE "spree_product_properties"."id" = 21 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, 30 Sep 2012 13:19:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["product_id", nil], ["property_id", 18], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 14, "updated_at" = '2012-09-30 13:19:30.838326' WHERE "spree_product_properties"."id" = 22 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 14) 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, 30 Sep 2012 13:19:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 28 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 28], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 14 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 41) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 14) 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" = 14 AND "spree_option_types"."id" = 8 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" = 14) ORDER BY position DESC 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, 30 Sep 2012 13:19:30 UTC +00:00], ["option_type_id", 8], ["position", 1], ["product_id", 14], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:30.858441' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.860010' WHERE "spree_products"."id" = 14  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (60, 19) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 AND "spree_option_values"."name" = 'PDF' 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-09-30 13:19:30.863896' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.865499' WHERE "spree_products"."id" = 14  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (20, 61) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 8 AND "spree_option_values"."name" = 'PNG' 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-09-30 13:19:30.869032' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.870359' WHERE "spree_products"."id" = 14  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (62, 21) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 14]] 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, 30 Sep 2012 13:19:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:30 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" = 14 AND "spree_option_types"."id" = 9 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" = 14) ORDER BY position DESC 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, 30 Sep 2012 13:19:30 UTC +00:00], ["option_type_id", 9], ["position", 2], ["product_id", 14], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 9 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" = 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", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 9], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00]]  (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 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-09-30 13:19:30.885581' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.887067' WHERE "spree_products"."id" = 14  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (63, 22) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 9 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" = 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", Sun, 30 Sep 2012 13:19:30 UTC +00:00], ["name", "colour"], ["option_type_id", 9], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:30 UTC +00:00]]  (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::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-09-30 13:19:30.893191' 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_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.894603' WHERE "spree_products"."id" = 14  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (64, 23) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 14]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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.2ms) 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" = 60 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 63 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 64 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" != 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) 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-09-30 13:19:30.913732' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 60 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.915003' 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-09-30 13:19:30.916506' WHERE "spree_products"."id" = 14  (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-09-30 13:19:30.917593' 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-09-30 13:19:30.919122' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 62 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.920231' 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-09-30 13:19:30.921812' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 63 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.922941' 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.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:30.924466' WHERE "spree_products"."id" = 14  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 64 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:31.167462' WHERE "spree_products"."id" = 14 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 14) 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" = 59 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" = 59) 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", Sun, 30 Sep 2012 13:19:31 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 59], ["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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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)  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-30 13:19:31.615513' WHERE "spree_products"."id" = 14  (5.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.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" = 12 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 = 51) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 12)) Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 51 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" = 12 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 = 51) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 12)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 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 = 55) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 13)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 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 = 59) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 14))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_products" SQL (3.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (5.1ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (4.4ms) 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.1ms) 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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:31 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (170.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:31.857103' 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_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.030137' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 65 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.032496' 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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 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::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, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19:32 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, 30 Sep 2012 13:19:32 UTC +00:00], ["product_id", nil], ["property_id", 19], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-09-30 13:19:32.045212' WHERE "spree_product_properties"."id" = 23 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" != 15) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:32 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 29], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 15 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (42, 15) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:32 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 30], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (43, 15) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 15) 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", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 15 AND "spree_option_types"."id" = 10 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" = 15) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["option_type_id", 10], ["position", 1], ["product_id", 15], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 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" = 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", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "jpeg"], ["option_type_id", 10], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:32 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-09-30 13:19:32.087096' 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_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.089011' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (24, 66) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 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" = 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", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "PDF"], ["option_type_id", 10], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] 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-09-30 13:19:32.095296' 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_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.097615' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (25, 67) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 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" = 10) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "PNG"], ["option_type_id", 10], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:32 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-09-30 13:19:32.106287' 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_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.108474' WHERE "spree_products"."id" = 15  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (26, 68) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 15]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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.2ms) 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" = 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 15) LIMIT 1  (0.1ms) 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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.128504' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 66 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.129994' WHERE "spree_products"."id" = 15 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-09-30 13:19:32.132714' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 67 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.134135' 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-09-30 13:19:32.135856' WHERE "spree_products"."id" = 15  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 68 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.137021' WHERE "spree_products"."id" = 15 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 15) 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" = 65 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" = 65) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 65], ["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" != 15) LIMIT 1  (0.2ms) 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" = 25, "updated_at" = '2012-09-30 13:19:32.483104' WHERE "spree_products"."id" = 15 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 15 Current value to assign : DEMO_002 Current value to 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.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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.503490' 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_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.507405' WHERE "spree_products"."id" = 16  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 69 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.512294' WHERE "spree_products"."id" = 16  (0.2ms) 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.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 16  (0.2ms) 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.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", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["product_id", nil], ["property_id", 20], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 16, "updated_at" = '2012-09-30 13:19:32.532524' WHERE "spree_product_properties"."id" = 24 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" != 16) 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" = 29 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" = 16 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (42, 16) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:19:32 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.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, 30 Sep 2012 13:19: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", 31], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (44, 16) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Spree::Taxon Load (0.2ms) 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", Sun, 30 Sep 2012 13:19: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", 32], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (45, 16) 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" != 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.3ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 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" = 16) 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, 30 Sep 2012 13:19:32 UTC +00:00], ["option_type_id", 10], ["position", 1], ["product_id", 16], ["updated_at", Sun, 30 Sep 2012 13:19:32 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.584967' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 16], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.588307' WHERE "spree_products"."id" = 16  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (24, 70) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:32.595024' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.597081' WHERE "spree_products"."id" = 16  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (25, 71) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:32.602115' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.604302' WHERE "spree_products"."id" = 16  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (26, 72) Spree::Product Load (0.1ms) 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 16) LIMIT 1  (0.2ms) 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.2ms) 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.3ms) 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.2ms) 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-excel-load-via-jruby' 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) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.630890' WHERE "spree_products"."id" = 16  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 70 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.633173' WHERE "spree_products"."id" = 16 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-09-30 13:19:32.636136' WHERE "spree_products"."id" = 16  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 71 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.637716' 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-09-30 13:19:32.639644' WHERE "spree_products"."id" = 16  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 72 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:32.641173' WHERE "spree_products"."id" = 16 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" != 16) 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" = 69 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 69) 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", Sun, 30 Sep 2012 13:19:32 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 69], ["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" != 16) LIMIT 1  (0.2ms) 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.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-30 13:19:34.813601' WHERE "spree_products"."id" = 16 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 16 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:34 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.834720' 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_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.836870' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 73 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.839396' WHERE "spree_products"."id" = 17  (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::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_002' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:34 UTC +00:00], ["product_id", nil], ["property_id", 21], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 17, "updated_at" = '2012-09-30 13:19:34.854043' WHERE "spree_product_properties"."id" = 25 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, 30 Sep 2012 13:19:34 UTC +00:00], ["product_id", nil], ["property_id", 20], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 17, "updated_at" = '2012-09-30 13:19:34.860189' WHERE "spree_product_properties"."id" = 26 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, 30 Sep 2012 13:19:34 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:34 UTC +00:00], ["product_id", nil], ["property_id", 22], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 17, "updated_at" = '2012-09-30 13:19:34.865435' 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-third-row-in-future' AND "spree_products"."id" != 17) 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, 30 Sep 2012 13:19:34 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:34 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.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 33], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 17 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (46, 17) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 17) 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" = 17 AND "spree_option_types"."id" = 10 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" = 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", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["option_type_id", 10], ["position", 1], ["product_id", 17], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:34.889246' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.891055' WHERE "spree_products"."id" = 17  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (24, 74) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 AND "spree_option_values"."name" = 'PDF' 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-09-30 13:19:34.895742' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.897420' WHERE "spree_products"."id" = 17  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (75, 25) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 10 AND "spree_option_values"."name" = 'PNG' 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-09-30 13:19:34.901891' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.903635' WHERE "spree_products"."id" = 17  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (76, 26) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 17]] 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, 30 Sep 2012 13:19:34 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:34 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" = 17 AND "spree_option_types"."id" = 11 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" = 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", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["option_type_id", 11], ["position", 2], ["product_id", 17], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 11 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" = 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", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["name", "black_white"], ["option_type_id", 11], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00]]  (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 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-09-30 13:19:34.921083' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.922669' WHERE "spree_products"."id" = 17  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (77, 27) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 11 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" = 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", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["name", "colour"], ["option_type_id", 11], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:34 UTC +00:00]]  (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-09-30 13:19:34.929310' 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_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.930902' WHERE "spree_products"."id" = 17  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (28, 78) 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-third-row-in-future' 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.1ms) 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" = 74 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 76 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 77 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 78 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" != 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-09-30 13:19:34.950374' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 74 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.951641' 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-09-30 13:19:34.953193' WHERE "spree_products"."id" = 17  (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-09-30 13:19:34.954324' 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-09-30 13:19:34.956022' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 76 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.957223' 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-09-30 13:19:34.958851' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 77 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.960093' 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-09-30 13:19:34.961762' WHERE "spree_products"."id" = 17  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 78 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:34.962997' WHERE "spree_products"."id" = 17 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 17) 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" = 73 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 73) 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", Sun, 30 Sep 2012 13:19:34 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 73], ["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-third-row-in-future' AND "spree_products"."id" != 17) LIMIT 1  (0.2ms) 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" = 53, "updated_at" = '2012-09-30 13:19:35.298906' WHERE "spree_products"."id" = 17 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 17 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::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" = 15 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 = 65) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 15)) 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" = 15 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 = 65) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 15)) 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  (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 = 69) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 16)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 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 = 73) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 17))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_products" SQL (3.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.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: #  (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", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 UTC +00:00]] 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-09-30 13:19:35.411416' WHERE "spree_products"."id" = 18 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.413257' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 79 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.415063' 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_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 UTC +00:00], ["product_id", nil], ["property_id", 23], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-09-30 13:19:35.424116' WHERE "spree_product_properties"."id" = 28 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" != 18) 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 34], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 18 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (47, 18) 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 35], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (48, 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" != 18) 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:35 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" = 18 AND "spree_option_types"."id" = 12 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" = 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["option_type_id", 12], ["position", 1], ["product_id", 18], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 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" = 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "jpeg"], ["option_type_id", 12], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:35 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-09-30 13:19:35.660426' 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_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.661900' WHERE "spree_products"."id" = 18  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (80, 29) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 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" = 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "PDF"], ["option_type_id", 12], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:35 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-09-30 13:19:35.667195' 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_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.668548' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (30, 81) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 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" = 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "PNG"], ["option_type_id", 12], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:35 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-09-30 13:19:35.673519' 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_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.674913' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (31, 82) 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-product-for-ar-loader' 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.1ms) 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.1ms) 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.1ms) 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 18) LIMIT 1  (0.2ms) 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-09-30 13:19:35.693936' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 80 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.696028' 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-09-30 13:19:35.698646' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 81 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.700105' 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-09-30 13:19:35.701805' WHERE "spree_products"."id" = 18  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 82 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.702922' WHERE "spree_products"."id" = 18 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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" = 25, "updated_at" = '2012-09-30 13:19:35.706752' WHERE "spree_products"."id" = 18 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 18 Current value to assign : DEMO_002 Current value to 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 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-09-30 13:19:35.716533' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 19], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.717933' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 83 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.719589' 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_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 UTC +00:00], ["product_id", nil], ["property_id", 24], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 19, "updated_at" = '2012-09-30 13:19:35.727205' WHERE "spree_product_properties"."id" = 29 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" != 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 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.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 47) 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:35 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 36], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 49) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 AND "spree_taxons"."parent_id" = 47 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", 47]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 47], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19: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", 47]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 50]] SQL (0.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 = 50 THEN 47 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 47]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 50]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 AND "spree_taxons"."parent_id" = 50 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", 50]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Seascape"], ["parent_id", 50], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19: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", 50]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 51]] 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 = 51 THEN 50 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 50]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 51]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 50)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 51) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 19) 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" = 19 AND "spree_option_types"."id" = 12 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" = 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["option_type_id", 12], ["position", 1], ["product_id", 19], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:35.763192' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.764606' WHERE "spree_products"."id" = 19  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (84, 29) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:35.767789' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.769041' WHERE "spree_products"."id" = 19  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (30, 85) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:35.771956' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.773213' WHERE "spree_products"."id" = 19  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (86, 31) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 19]] Current value to assign : 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-excel-load-via-jruby' 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.1ms) 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.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.1ms) 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.1ms) 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.787915' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 84 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.789095' 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-09-30 13:19:35.790521' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 85 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.791490' 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-09-30 13:19:35.792833' WHERE "spree_products"."id" = 19  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 86 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.793820' WHERE "spree_products"."id" = 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" != 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" = 11, "updated_at" = '2012-09-30 13:19:35.797210' WHERE "spree_products"."id" = 19 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 19 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 UTC +00:00]] 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-09-30 13:19:35.805573' 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_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.806876' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 87 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.808386' 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.1ms) 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_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 UTC +00:00], ["product_id", nil], ["property_id", 25], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 20, "updated_at" = '2012-09-30 13:19:35.815757' WHERE "spree_product_properties"."id" = 30 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, 30 Sep 2012 13:19:35 UTC +00:00], ["product_id", nil], ["property_id", 24], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 20, "updated_at" = '2012-09-30 13:19:35.818709' WHERE "spree_product_properties"."id" = 31 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:35 UTC +00:00], ["product_id", nil], ["property_id", 26], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 20, "updated_at" = '2012-09-30 13:19:35.822423' WHERE "spree_product_properties"."id" = 32 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 20) 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:35 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.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 37], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 20 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 52) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 AND "spree_taxons"."parent_id" = 47 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", 47]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 47], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19: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", 47]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 53]] 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 = 53 THEN 47 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 47]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 53]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 53)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 47) 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" != 20) 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" = 20 AND "spree_option_types"."id" = 12 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" = 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", Sun, 30 Sep 2012 13:19:35 UTC +00:00], ["option_type_id", 12], ["position", 1], ["product_id", 20], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:35.849911' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.851221' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (29, 88) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 AND "spree_option_values"."name" = 'PDF' 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-09-30 13:19:35.854080' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.855229' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (30, 89) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 12 AND "spree_option_values"."name" = 'PNG' 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-09-30 13:19:35.858140' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.859314' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (31, 90) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 20]] 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:35 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" = 20 AND "spree_option_types"."id" = 13 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" = 20) ORDER BY position DESC 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, 30 Sep 2012 13:19:35 UTC +00:00], ["option_type_id", 13], ["position", 2], ["product_id", 20], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 13 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" = 13) ORDER BY position 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "black_white"], ["option_type_id", 13], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]]  (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 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-09-30 13:19:35.872257' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.873642' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (32, 91) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 13 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" = 13) ORDER BY position 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, 30 Sep 2012 13:19:35 UTC +00:00], ["name", "colour"], ["option_type_id", 13], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:35 UTC +00:00]]  (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::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-09-30 13:19:35.878911' 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_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.880189' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (92, 33) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 20]] 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-third-row-in-future' 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.1ms) 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.1ms) 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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 90 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 91 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 92 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" != 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.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.899682' WHERE "spree_products"."id" = 20  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 88 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.902426' 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-09-30 13:19:35.904620' WHERE "spree_products"."id" = 20  (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-09-30 13:19:35.906035' 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-09-30 13:19:35.908210' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 90 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.909628' 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-09-30 13:19:35.911323' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 91 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.912468' 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-09-30 13:19:35.913911' WHERE "spree_products"."id" = 20  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 92 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:35.914952' WHERE "spree_products"."id" = 20 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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" = 53, "updated_at" = '2012-09-30 13:19:35.918374' WHERE "spree_products"."id" = 20 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 20 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (56.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" = 20 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 = 87) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 20)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 20]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 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 = 87) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 20)) SQL (5.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (55.2ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (54.2ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (8.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: # 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.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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.368892' 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", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.370752' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 93 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.372554' 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.1ms) 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_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:36 UTC +00:00], ["product_id", nil], ["property_id", 27], ["updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-09-30 13:19:36.381759' WHERE "spree_product_properties"."id" = 33 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" != 21) 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, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 38 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, 30 Sep 2012 13:19: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", 38], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 21 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (54, 21) 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, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 39], ["updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (55, 21) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 21) 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", Sun, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:36 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" = 21 AND "spree_option_types"."id" = 14 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" = 21) 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, 30 Sep 2012 13:19:36 UTC +00:00], ["option_type_id", 14], ["position", 1], ["product_id", 21], ["updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 14 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" = 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", Sun, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 14], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00]] 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-09-30 13:19:36.423291' 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", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.425030' WHERE "spree_products"."id" = 21  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (94, 34) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 14 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" = 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", Sun, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 14], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:36 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-09-30 13:19:36.431029' 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", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.432399' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (35, 95) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 14 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" = 14) ORDER BY position 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, 30 Sep 2012 13:19:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 14], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:36 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-09-30 13:19:36.437278' 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", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.438548' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (96, 36) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 21]] 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 Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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.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.1ms) 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" = 94 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" = 95 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 96 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" != 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.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.459391' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 94 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.460694' 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-09-30 13:19:36.462340' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 95 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.463458' 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-09-30 13:19:36.464930' WHERE "spree_products"."id" = 21  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 96 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:36.466129' WHERE "spree_products"."id" = 21 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 21) 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" = 93 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" = 93) 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, 30 Sep 2012 13:19:36 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 93], ["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" != 21) LIMIT 1 Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 93) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 13:19:36 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 93], ["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" != 21) LIMIT 1 Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 93) 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", Sun, 30 Sep 2012 13:19:37 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 93], ["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" != 21) LIMIT 1  (0.2ms) 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.2ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-30 13:19:37.473118' WHERE "spree_products"."id" = 21 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 21 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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:37 UTC +00:00]] 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-09-30 13:19:37.487607' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 22], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.489174' WHERE "spree_products"."id" = 22  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 97 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.490945' WHERE "spree_products"."id" = 22  (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.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.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::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, 30 Sep 2012 13:19:37 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:37 UTC +00:00], ["product_id", nil], ["property_id", 28], ["updated_at", Sun, 30 Sep 2012 13:19:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 22, "updated_at" = '2012-09-30 13:19:37.500278' WHERE "spree_product_properties"."id" = 34 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" != 22) 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" = 38 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, 54) 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", Sun, 30 Sep 2012 13:19:37 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:19:37 UTC +00:00]] Spree::Taxon Load (0.2ms) 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 40], ["updated_at", Sun, 30 Sep 2012 13:19:37 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (22, 56) 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, 30 Sep 2012 13:19:37 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:37 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 41], ["updated_at", Sun, 30 Sep 2012 13:19:37 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (22, 57) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 22) 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" = 22 AND "spree_option_types"."id" = 14 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" = 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", Sun, 30 Sep 2012 13:19:37 UTC +00:00], ["option_type_id", 14], ["position", 1], ["product_id", 22], ["updated_at", Sun, 30 Sep 2012 13:19:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 14 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:37.538548' 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", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.540084' WHERE "spree_products"."id" = 22  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (34, 98) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 14 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:37.543538' 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", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.544892' WHERE "spree_products"."id" = 22  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (35, 99) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 14 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:37.548499' 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", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.549996' WHERE "spree_products"."id" = 22  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (36, 100) Spree::Product Load (0.1ms) 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.2ms) 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.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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 100 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" != 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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.566279' WHERE "spree_products"."id" = 22  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 98 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.567565' WHERE "spree_products"."id" = 22 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-09-30 13:19:37.569148' WHERE "spree_products"."id" = 22  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 99 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.570258' WHERE "spree_products"."id" = 22 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-09-30 13:19:37.571902' WHERE "spree_products"."id" = 22  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 100 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:37.573017' WHERE "spree_products"."id" = 22 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 22) 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" = 97 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 97) 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", Sun, 30 Sep 2012 13:19:37 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 97], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 97) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 13:19:39 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 97], ["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" != 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.2ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-30 13:19:39.987480' WHERE "spree_products"."id" = 22 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 22 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 SQLite3::SQLException: no such column: spree_products.sku: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (11.8ms) DELETE FROM "spree_products" SQL (5.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (9.4ms) DELETE FROM "spree_properties" SQL (7.0ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (6.3ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.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.1ms) commit transaction PRODUCT # MASTER: # SQL (7.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 (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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 ROWRest of World 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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 UKUnited Kingdom 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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 EUREurope succesfully SAVED : ID 5 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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 NANorth America succesfully SAVED : ID 6 Current value to assign : Current value to assign :  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.9ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (5.9ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (2.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.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # 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 ROWRest 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" = 7 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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  (3.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (4.3ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (2.8ms) 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.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.7ms) 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.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (4.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.2ms) 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.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.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, 30 Sep 2012 13:19:40 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, 30 Sep 2012 13:19:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.433164' WHERE "spree_products"."id" = 23 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.611369' WHERE "spree_products"."id" = 23  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.614542' 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::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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' 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 SQL (0.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" = 23 AND "spree_option_types"."id" = 15 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" = 23) ORDER BY position DESC 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, 30 Sep 2012 13:19:40 UTC +00:00], ["option_type_id", 15], ["position", 1], ["product_id", 23], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" != 23) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-30 13:19:40.632817' WHERE "spree_products"."id" = 23  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 101 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.634769' WHERE "spree_products"."id" = 23 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 23 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 23 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", Sun, 30 Sep 2012 13:19:40 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, 30 Sep 2012 13:19:40 UTC +00:00]] 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-09-30 13:19:40.644244' 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", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.645659' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 102 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.647303' 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::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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 102 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" != 24) 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" = 24 AND "spree_option_types"."id" = 15 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" = 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["option_type_id", 15], ["position", 1], ["product_id", 24], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" != 24) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-30 13:19:40.660422' WHERE "spree_products"."id" = 24  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 102 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.663593' WHERE "spree_products"."id" = 24 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 24 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 24 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.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", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19:40 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, 30 Sep 2012 13:19:40 UTC +00:00]] 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-09-30 13:19:40.675498' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 25], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.677013' WHERE "spree_products"."id" = 25  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 103 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.678820' 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::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" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 25) 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" = 25 AND "spree_option_types"."id" = 15 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" = 25) 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, 30 Sep 2012 13:19:40 UTC +00:00], ["option_type_id", 15], ["position", 1], ["product_id", 25], ["updated_at", Sun, 30 Sep 2012 13:19:40 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" = 25 AND "spree_option_types"."id" = 16 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" = 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["option_type_id", 16], ["position", 2], ["product_id", 25], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" != 25) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-30 13:19:40.697917' WHERE "spree_products"."id" = 25  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 103 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.699848' WHERE "spree_products"."id" = 25 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 25 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 25 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (177.1ms) 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-09-30 13:19:40.883574')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 13:19:40.884607')  (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" = 23 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" = 23 ORDER BY spree_option_types.position  (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.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" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (3.3ms) 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.0ms) begin transaction  (0.0ms) 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.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, 30 Sep 2012 13:19:40 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, 30 Sep 2012 13:19:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.948897' 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", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.950586' WHERE "spree_products"."id" = 26  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.952187' 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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 104 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" != 26) 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" = 26 AND "spree_option_types"."id" = 17 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" = 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["option_type_id", 17], ["position", 1], ["product_id", 26], ["updated_at", Sun, 30 Sep 2012 13:19:40 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" != 26) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-30 13:19:40.966590' WHERE "spree_products"."id" = 26  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 104 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.968415' WHERE "spree_products"."id" = 26 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 26 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.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.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, 30 Sep 2012 13:19:40 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, 30 Sep 2012 13:19:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.978090' 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", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.980838' WHERE "spree_products"."id" = 27  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 105 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.982921' 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::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.1ms) 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::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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' 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.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" = 27 AND "spree_option_types"."id" = 17 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" = 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", Sun, 30 Sep 2012 13:19:40 UTC +00:00], ["option_type_id", 17], ["position", 1], ["product_id", 27], ["updated_at", Sun, 30 Sep 2012 13:19:40 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 27) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-30 13:19:40.996531' WHERE "spree_products"."id" = 27  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 105 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:40.998560' WHERE "spree_products"."id" = 27 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 27 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.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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.007027' 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", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.008290' WHERE "spree_products"."id" = 28  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 106 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.009910' 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.1ms) 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::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::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" != 28) 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" = 28 AND "spree_option_types"."id" = 17 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 17], ["position", 1], ["product_id", 28], ["updated_at", Sun, 30 Sep 2012 13:19:41 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" = 28 AND "spree_option_types"."id" = 18 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 18], ["position", 2], ["product_id", 28], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" != 28) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-30 13:19:41.028059' WHERE "spree_products"."id" = 28  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 106 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.029819' WHERE "spree_products"."id" = 28 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 28  (5.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-09-30 13:19:41.037804')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 13:19:41.038406')  (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" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.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" = 26 ORDER BY spree_option_types.position  (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" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.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 : 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", Sun, 30 Sep 2012 14:19:41 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19:41 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, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.110209' 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", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.111871' WHERE "spree_products"."id" = 29  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 107 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.113525' 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.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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 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.3ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 19], ["position", 1], ["product_id", 29], ["updated_at", Sun, 30 Sep 2012 13:19: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" != 29) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 29 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.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, 30 Sep 2012 14:19:41 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19:41 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, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.167347' 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", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.169540' WHERE "spree_products"."id" = 30  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 108 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.171437' 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.1ms) 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.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" = 30 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" = 30) 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, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 19], ["position", 1], ["product_id", 30], ["updated_at", Sun, 30 Sep 2012 13:19: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" != 30) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 30 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", Sun, 30 Sep 2012 14:19:41 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19:41 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, 30 Sep 2012 13:19:41 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-09-30 13:19:41.192912' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 31], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.194806' WHERE "spree_products"."id" = 31  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 109 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.196767' 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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 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::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" = 31 AND "spree_option_types"."id" = 19 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" = 31) ORDER BY position DESC 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, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 19], ["position", 1], ["product_id", 31], ["updated_at", Sun, 30 Sep 2012 13:19:41 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" = 31 AND "spree_option_types"."id" = 20 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" = 31) ORDER BY position DESC 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, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 20], ["position", 2], ["product_id", 31], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" != 31) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 31 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.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" = 29 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.9ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"meta_keywords"=>"techno dubstep d&b", "available_on"=>"Time.now.to_s(:db)", "meta_description"=>"super duper meta desc.", "cost_price"=>1.0}}} 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.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", Sun, 30 Sep 2012 13:19:41 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, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.446059' 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", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.447738' WHERE "spree_products"."id" = 32  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 110 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.449440' 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::Variant Load (0.1ms) 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::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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" = 32 AND "spree_option_types"."id" = 21 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 21], ["position", 1], ["product_id", 32], ["updated_at", Sun, 30 Sep 2012 13:19: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" != 32) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 32 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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19:41 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, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.470271' 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", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.471644' WHERE "spree_products"."id" = 33  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 111 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.473290' 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.1ms) 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::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" = 33 AND "spree_option_types"."id" = 21 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 21], ["position", 1], ["product_id", 33], ["updated_at", Sun, 30 Sep 2012 13:19: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" != 33) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 33 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.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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:19:41 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, 30 Sep 2012 13:19:41 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-09-30 13:19:41.492049' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 34], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.494234' WHERE "spree_products"."id" = 34  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 112 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.497627' 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::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) 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::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" = 34 AND "spree_option_types"."id" = 21 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 21], ["position", 1], ["product_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19:41 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" = 34 AND "spree_option_types"."id" = 22 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 22], ["position", 2], ["product_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" != 34) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 34 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.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" = 32 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" SQL (5.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.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: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]]  (3.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 Current value to assign : Demo Product for AR Loader Current 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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.602803' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 35], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.604390' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 113 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.605975' 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.1ms) 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.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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["product_id", nil], ["property_id", 29], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 35, "updated_at" = '2012-09-30 13:19:41.612846' 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-product-for-ar-loader' AND "spree_products"."id" != 35) 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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::Taxon Load (0.1ms) 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", Sun, 30 Sep 2012 13:19: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", 42], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 35 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (58, 35) 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 43], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (59, 35) 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" != 35) 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" = 35 AND "spree_option_types"."id" = 23 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 23], ["position", 1], ["product_id", 35], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "jpeg"], ["option_type_id", 23], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.646149' 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_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.647633' WHERE "spree_products"."id" = 35  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (37, 114) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "PDF"], ["option_type_id", 23], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.653552' 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_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.654923' WHERE "spree_products"."id" = 35  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (38, 115) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 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" = 23) ORDER BY position 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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "PNG"], ["option_type_id", 23], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.659635' 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_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.660862' WHERE "spree_products"."id" = 35  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (39, 116) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 35]] Spree::Variant Load (0.1ms) 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-product-for-ar-loader' 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.1ms) 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" = 114 AND ("spree_inventory_units"."state" IN ('backordered')) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 116 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" != 35) LIMIT 1  (0.2ms) 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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.675838' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 114 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.678207' 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-09-30 13:19:41.680249' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 115 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.681509' 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-09-30 13:19:41.683134' WHERE "spree_products"."id" = 35  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 116 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.684210' WHERE "spree_products"."id" = 35 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-30 13:19:41.687510' WHERE "spree_products"."id" = 35 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 35 Current value to assign : DEMO_002 Current value to 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.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", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:41 UTC +00:00]] 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-09-30 13:19:41.695513' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 36], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.696873' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 117 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.698580' 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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) 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_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:41 UTC +00:00], ["product_id", nil], ["property_id", 30], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 36, "updated_at" = '2012-09-30 13:19:41.706496' 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-excel-load-via-jruby' AND "spree_products"."id" != 36) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 42 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" = 36 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (58, 36) 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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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", Sun, 30 Sep 2012 13:19: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", 44], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (60, 36) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 42 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" = 42 AND "spree_taxons"."parent_id" = 58 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", 58]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 58], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 42], ["updated_at", Sun, 30 Sep 2012 13:19: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", 58]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 61]] SQL (0.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 = 61 THEN 58 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 58]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 61]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 42 AND "spree_taxons"."parent_id" = 61 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", 61]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 61], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 42], ["updated_at", Sun, 30 Sep 2012 13:19: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", 61]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 62]] 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 = 62 THEN 61 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 61]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 62]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (61, 36)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (62, 36) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 36) 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" = 36 AND "spree_option_types"."id" = 23 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 23], ["position", 1], ["product_id", 36], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:41.740563' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.741859' WHERE "spree_products"."id" = 36  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (118, 37) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:41.744807' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.745960' WHERE "spree_products"."id" = 36  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (38, 119) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:41.748830' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.749982' WHERE "spree_products"."id" = 36  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (39, 120) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 36]] Current value to assign : Spree::Variant Load (0.1ms) 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-excel-load-via-jruby' AND "spree_products"."id" != 36) LIMIT 1  (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)  (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.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 118 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 120 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" != 36) LIMIT 1  (0.1ms) 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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.764462' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 118 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.765605' 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-09-30 13:19:41.766934' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 119 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.767907' 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-09-30 13:19:41.769223' WHERE "spree_products"."id" = 36  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 120 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.770187' WHERE "spree_products"."id" = 36 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 36) LIMIT 1  (0.1ms) 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.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-30 13:19:41.773235' WHERE "spree_products"."id" = 36 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 36 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:41 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-09-30 13:19:41.781320' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 37], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.782596' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 121 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.784093' 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::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.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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:41 UTC +00:00], ["product_id", nil], ["property_id", 31], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 37, "updated_at" = '2012-09-30 13:19:41.791093' WHERE "spree_product_properties"."id" = 37 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, 30 Sep 2012 13:19:41 UTC +00:00], ["product_id", nil], ["property_id", 30], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 37, "updated_at" = '2012-09-30 13:19:41.793798' WHERE "spree_product_properties"."id" = 38 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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:41 UTC +00:00], ["product_id", nil], ["property_id", 32], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 37, "updated_at" = '2012-09-30 13:19:41.949153' WHERE "spree_product_properties"."id" = 39 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 37) 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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 45], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 37 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 63) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 42 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" = 42 AND "spree_taxons"."parent_id" = 58 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", 58]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 58], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 42], ["updated_at", Sun, 30 Sep 2012 13:19: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", 58]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 64]] 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 = 64 THEN 58 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 58]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 64]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 64)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 58) 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" != 37) 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" = 37 AND "spree_option_types"."id" = 23 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" = 37) ORDER BY position DESC 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, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 23], ["position", 1], ["product_id", 37], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:41.980256' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.981656' WHERE "spree_products"."id" = 37  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (37, 122) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:41.984861' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.986122' WHERE "spree_products"."id" = 37  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (123, 38) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 23 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:41.989276' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:41.990561' WHERE "spree_products"."id" = 37  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (39, 124) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 37]] 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, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:41 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" = 37 AND "spree_option_types"."id" = 24 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" = 37) ORDER BY position DESC 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, 30 Sep 2012 13:19:41 UTC +00:00], ["option_type_id", 24], ["position", 2], ["product_id", 37], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 24 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" = 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", Sun, 30 Sep 2012 13:19:41 UTC +00:00], ["name", "black_white"], ["option_type_id", 24], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:41 UTC +00:00]]  (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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 't') LIMIT 1 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-09-30 13:19:42.004149' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.005518' WHERE "spree_products"."id" = 37  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (40, 125) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 24 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" = 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "colour"], ["option_type_id", 24], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]]  (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::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-09-30 13:19:42.011513' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 37], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.013561' WHERE "spree_products"."id" = 37  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (126, 41) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 37]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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.2ms) 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.1ms) 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::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 124 AND ("spree_inventory_units"."state" IN ('backordered')) 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.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 126 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" != 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) 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-09-30 13:19:42.041286' WHERE "spree_products"."id" = 37  (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-09-30 13:19:42.042573' 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-09-30 13:19:42.044035' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 123 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.045058' 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-09-30 13:19:42.046440' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 124 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.047437' 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-09-30 13:19:42.048924' 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-09-30 13:19:42.050084' 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-09-30 13:19:42.051721' WHERE "spree_products"."id" = 37  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 126 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.052875' WHERE "spree_products"."id" = 37 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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" = 53, "updated_at" = '2012-09-30 13:19:42.056812' WHERE "spree_products"."id" = 37 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 37 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (73.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.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" = 35 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" = 37 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" = 37 SQL (2.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.4ms) DELETE FROM "spree_option_types" SQL (9.9ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (4.7ms) 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.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]]  (3.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.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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.243362' 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_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.244938' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 127 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.246478' 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_001' LIMIT 1 SQL (0.3ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["product_id", nil], ["property_id", 33], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 38, "updated_at" = '2012-09-30 13:19:42.253317' WHERE "spree_product_properties"."id" = 40 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" != 38) 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 46 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, 30 Sep 2012 13:19: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", 46], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 38 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (65, 38) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 38) 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:42 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 47], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (66, 38) 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" != 38) 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:42 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" = 38 AND "spree_option_types"."id" = 25 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" = 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["option_type_id", 25], ["position", 1], ["product_id", 38], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 25 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" = 25) ORDER BY position 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 25], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:42 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-09-30 13:19:42.289836' 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_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.291384' WHERE "spree_products"."id" = 38  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (128, 42) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 38]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 38) 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" = 38 AND "spree_option_types"."id" = 25 ORDER 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" = 25 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" = 25) ORDER BY position 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 25], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]]  (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::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-09-30 13:19:42.301832' 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_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.303120' WHERE "spree_products"."id" = 38  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (43, 129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 38]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 38) 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" = 38 AND "spree_option_types"."id" = 25 ORDER 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" = 25 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" = 25) ORDER BY position 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 25], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]]  (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::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-09-30 13:19:42.313023' 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_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.314257' WHERE "spree_products"."id" = 38  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (130, 44) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 38]] Current value to assign : 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-product-for-ar-loader' AND "spree_products"."id" != 38) LIMIT 1  (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)  (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.2ms) 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" = 128 AND ("spree_inventory_units"."state" IN ('backordered')) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 130 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" != 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-09-30 13:19:42.335599' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 128 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.336918' 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-09-30 13:19:42.338414' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 129 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.339508' 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-09-30 13:19:42.341098' WHERE "spree_products"."id" = 38  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 130 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.342271' WHERE "spree_products"."id" = 38 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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" = 25, "updated_at" = '2012-09-30 13:19:42.345593' WHERE "spree_products"."id" = 38 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 38 Current value to assign : DEMO_002 Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:42 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-09-30 13:19:42.353717' 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_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.354967' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 131 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.356420' 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_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["product_id", nil], ["property_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-09-30 13:19:42.363576' WHERE "spree_product_properties"."id" = 41 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" != 39) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 65) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 39) 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::Taxon Load (0.1ms) 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 48], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 67) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 39) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 46 AND "spree_taxons"."parent_id" = 65 AND "spree_taxons"."name" = 'Nature' 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", 65]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 65], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19: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", 65]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 68]] 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 = 68 THEN 65 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 65]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 68]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 46 AND "spree_taxons"."parent_id" = 68 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", 68]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 68], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19: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", 68]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 69]] 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 = 69 THEN 68 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 68]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 69]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 68)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 69) 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" != 39) 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" = 39 AND "spree_option_types"."id" = 25 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" = 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["option_type_id", 25], ["position", 1], ["product_id", 39], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 25 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:42.561520' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.563024' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (42, 132) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 39]] 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 Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 39) 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" = 39 AND "spree_option_types"."id" = 25 ORDER 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" = 25 AND "spree_option_values"."name" = 'PDF' 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) 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-09-30 13:19:42.572598' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.574014' WHERE "spree_products"."id" = 39  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (43, 133) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 39]] 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 Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 39) 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" = 39 AND "spree_option_types"."id" = 25 ORDER 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" = 25 AND "spree_option_values"."name" = 'PNG' 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) 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-09-30 13:19:42.583310' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.584718' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (44, 134) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 39]] Current value to assign : Current value to assign : 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 Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 132 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 39) LIMIT 1  (0.1ms) 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-09-30 13:19:42.601736' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 132 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.602936' 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-09-30 13:19:42.604392' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 133 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.605418' 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-09-30 13:19:42.606887' WHERE "spree_products"."id" = 39  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 134 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.607935' WHERE "spree_products"."id" = 39 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 39) LIMIT 1  (0.1ms) 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" = 11, "updated_at" = '2012-09-30 13:19:42.611301' WHERE "spree_products"."id" = 39 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 39 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:42 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-09-30 13:19:42.620020' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 40], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.621351' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 135 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.622987' 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.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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["product_id", nil], ["property_id", 35], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 40, "updated_at" = '2012-09-30 13:19:42.630776' WHERE "spree_product_properties"."id" = 42 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 40) 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, 30 Sep 2012 13:19:42 UTC +00:00], ["product_id", nil], ["property_id", 34], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 40, "updated_at" = '2012-09-30 13:19:42.634913' WHERE "spree_product_properties"."id" = 43 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 40) 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["product_id", nil], ["property_id", 36], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 40, "updated_at" = '2012-09-30 13:19:42.639843' WHERE "spree_product_properties"."id" = 44 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 40) 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:42 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 49], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 40 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (70, 40) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 46 AND "spree_taxons"."parent_id" = 65 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", 65]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 65], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19: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", 65]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 71]] 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 = 71 THEN 65 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 65]] 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 : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (71, 40)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (65, 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" != 40) 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" = 40 AND "spree_option_types"."id" = 25 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" = 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["option_type_id", 25], ["position", 1], ["product_id", 40], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 25 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:42.668546' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.669853' WHERE "spree_products"."id" = 40  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (42, 136) Spree::Product Load (0.0ms) 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-third-row-in-future' AND "spree_products"."id" != 40) 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" = 40 AND "spree_option_types"."id" = 25 ORDER 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" = 25 AND "spree_option_values"."name" = 'PDF' 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) 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-09-30 13:19:42.678270' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.679610' WHERE "spree_products"."id" = 40  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (43, 137) Spree::Product Load (0.0ms) 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-third-row-in-future' AND "spree_products"."id" != 40) 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" = 40 AND "spree_option_types"."id" = 25 ORDER 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" = 25 AND "spree_option_values"."name" = 'PNG' 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) 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-09-30 13:19:42.687795' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.689059' WHERE "spree_products"."id" = 40  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (44, 138) Spree::Product Load (0.0ms) 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-third-row-in-future' AND "spree_products"."id" != 40) 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:42 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" = 40 AND "spree_option_types"."id" = 26 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" = 40) ORDER BY position DESC 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, 30 Sep 2012 13:19:42 UTC +00:00], ["option_type_id", 26], ["position", 2], ["product_id", 40], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 26 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" = 26) ORDER BY position 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, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 26], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]]  (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::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-09-30 13:19:42.702680' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.703966' WHERE "spree_products"."id" = 40  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (45, 139) Spree::Product Load (0.0ms) 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-third-row-in-future' AND "spree_products"."id" != 40) 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.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" = 40 AND "spree_option_types"."id" = 26 ORDER 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" = 26 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" = 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", Sun, 30 Sep 2012 13:19:42 UTC +00:00], ["name", "colour"], ["option_type_id", 26], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:42 UTC +00:00]]  (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::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-09-30 13:19:42.714074' 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_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.715336' WHERE "spree_products"."id" = 40  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (46, 140) Spree::Product Load (0.0ms) 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-third-row-in-future' 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.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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 137 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 138 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 40) LIMIT 1  (0.4ms) 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.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.736753' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 136 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.738681' 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-09-30 13:19:42.740625' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 137 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.741921' 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-09-30 13:19:42.743415' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 138 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.744420' 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-09-30 13:19:42.745823' 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-09-30 13:19:42.746833' 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-09-30 13:19:42.748181' WHERE "spree_products"."id" = 40  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 140 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:42.749158' WHERE "spree_products"."id" = 40 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-30 13:19:42.752547' WHERE "spree_products"."id" = 40 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 40 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (95.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.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" = 38 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" = 40 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" = 40 SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (5.9ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.8ms) DELETE FROM "spree_taxonomies" SQL (3.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: # SQL (3.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (4.3ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (4.4ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (4.7ms) DELETE FROM "spree_taxonomies" SQL (2.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: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.6ms) 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 (4.6ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (4.7ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones" SQL (4.8ms) 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.6ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (4.3ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) 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 (4.8ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones" SQL (3.5ms) 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 (3.6ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.5ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.2ms) begin transaction  (0.0ms) commit transaction SQL (4.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (4.7ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit transaction Booted Spree using version 1.1.3 SQL (4.9ms) 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 (3.2ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:43 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.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, 30 Sep 2012 13:19: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", 50], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]]  (3.5ms) 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", Sun, 30 Sep 2012 13:19: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", 50], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]]  (5.4ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 13:19:43.628032', "parent_id" = 72 WHERE "spree_taxons"."id" = 73 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 72]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 73]] 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 = 73 THEN 72 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 72]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 73]]  (4.2ms) 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" = 72 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.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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.668357' WHERE "spree_products"."id" = 41 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.669995' WHERE "spree_products"."id" = 41  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 141 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.672042' 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.1ms) 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.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::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, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["product_id", nil], ["property_id", 37], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 41, "updated_at" = '2012-09-30 13:19:43.680054' 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-product-for-ar-loader' 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 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" = 41 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 72) 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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 51 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, 30 Sep 2012 13:19: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 51], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 74) 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" != 41) 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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 41 AND "spree_option_types"."id" = 27 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" = 41) ORDER BY position DESC 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, 30 Sep 2012 13:19:43 UTC +00:00], ["option_type_id", 27], ["position", 1], ["product_id", 41], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 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" = 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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 27], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] 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-09-30 13:19:43.712489' 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_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.713959' WHERE "spree_products"."id" = 41  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (142, 47) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 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" = 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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 27], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] 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-09-30 13:19:43.719765' 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_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.721082' WHERE "spree_products"."id" = 41  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (48, 143) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 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" = 27) ORDER BY position 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, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 27], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] 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-09-30 13:19:43.725570' 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_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.726757' WHERE "spree_products"."id" = 41  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (144, 49) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 41]] 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-product-for-ar-loader' 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.1ms) 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" = 142 AND ("spree_inventory_units"."state" IN ('backordered')) 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::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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) 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-09-30 13:19:43.744181' WHERE "spree_products"."id" = 41  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 142 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.745986' 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-09-30 13:19:43.748202' WHERE "spree_products"."id" = 41  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 143 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.749551' 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-09-30 13:19:43.751024' WHERE "spree_products"."id" = 41  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 144 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.752079' WHERE "spree_products"."id" = 41 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-30 13:19:43.755402' WHERE "spree_products"."id" = 41 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 41 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] 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-09-30 13:19:43.764098' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 42], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.765509' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 145 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.767222' 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  (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::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, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["product_id", nil], ["property_id", 38], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-09-30 13:19:43.774734' 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-excel-load-via-jruby' AND "spree_products"."id" != 42) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (72, 42) 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, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:43 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 52], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (75, 42) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 AND "spree_taxons"."parent_id" = 72 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", 72]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 72], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 50], ["updated_at", Sun, 30 Sep 2012 13:19: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", 72]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 76]] SQL (0.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 = 76 THEN 72 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 72]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 76]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 AND "spree_taxons"."parent_id" = 76 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", 76]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Seascape"], ["parent_id", 76], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 50], ["updated_at", Sun, 30 Sep 2012 13:19: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", 76]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 77]] SQL (0.1ms) 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 = 77 THEN 76 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 76]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 77]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (76, 42)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (77, 42) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 42) 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" = 42 AND "spree_option_types"."id" = 27 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" = 42) ORDER BY position DESC 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, 30 Sep 2012 13:19:43 UTC +00:00], ["option_type_id", 27], ["position", 1], ["product_id", 42], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:43.808646' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.809944' WHERE "spree_products"."id" = 42  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (47, 146) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 AND "spree_option_values"."name" = 'PDF' 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-09-30 13:19:43.812782' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.813924' WHERE "spree_products"."id" = 42  (0.0ms) 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"."option_type_id" = 27 AND "spree_option_values"."name" = 'PNG' 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-09-30 13:19:43.816801' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.817964' WHERE "spree_products"."id" = 42  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (148, 49) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 42]] Current value to assign : 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 146 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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) 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-09-30 13:19:43.832256' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 146 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.833392' 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-09-30 13:19:43.834747' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 147 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.835782' 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-09-30 13:19:43.837132' WHERE "spree_products"."id" = 42  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 148 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.838110' WHERE "spree_products"."id" = 42 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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" = 11, "updated_at" = '2012-09-30 13:19:43.841157' WHERE "spree_products"."id" = 42 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 42 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 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-09-30 13:19:43.849160' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 43], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.850412' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 149 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.851876' 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_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["product_id", nil], ["property_id", 39], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 43, "updated_at" = '2012-09-30 13:19:43.858963' WHERE "spree_product_properties"."id" = 47 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, 30 Sep 2012 13:19:43 UTC +00:00], ["product_id", nil], ["property_id", 38], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 43, "updated_at" = '2012-09-30 13:19:43.861536' WHERE "spree_product_properties"."id" = 48 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, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["product_id", nil], ["property_id", 40], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 43, "updated_at" = '2012-09-30 13:19:43.865071' 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-third-row-in-future' AND "spree_products"."id" != 43) 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, 30 Sep 2012 13:19:43 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:43 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 53], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 43 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 78) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 AND "spree_taxons"."parent_id" = 72 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 73)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 72) 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" != 43) 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" = 43 AND "spree_option_types"."id" = 27 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" = 43) ORDER BY position DESC 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, 30 Sep 2012 13:19:43 UTC +00:00], ["option_type_id", 27], ["position", 1], ["product_id", 43], ["updated_at", Sun, 30 Sep 2012 13:19:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:43.885310' 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", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:43.886630' WHERE "spree_products"."id" = 43  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (47, 150) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:44.049623' 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", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.051148' WHERE "spree_products"."id" = 43  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (48, 151) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 27 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:44.054782' 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", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.056196' WHERE "spree_products"."id" = 43  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (152, 49) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 43]] 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:44 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" = 43 AND "spree_option_types"."id" = 28 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" = 43) ORDER BY position DESC 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, 30 Sep 2012 13:19:44 UTC +00:00], ["option_type_id", 28], ["position", 2], ["product_id", 43], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 28 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" = 28) ORDER BY position 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "black_white"], ["option_type_id", 28], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (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 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-09-30 13:19:44.070720' 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", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.072112' WHERE "spree_products"."id" = 43  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (50, 153) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 28 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "colour"], ["option_type_id", 28], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (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::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-09-30 13:19:44.077978' 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", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.079320' WHERE "spree_products"."id" = 43  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (154, 51) 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-third-row-in-future' 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.1ms) 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" = 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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 152 AND ("spree_inventory_units"."state" IN ('backordered')) 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::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.101745' WHERE "spree_products"."id" = 43  (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-09-30 13:19:44.103860' 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-09-30 13:19:44.106111' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 151 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.107394' 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-09-30 13:19:44.108994' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 152 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.110060' 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-09-30 13:19:44.111556' 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-09-30 13:19:44.112774' 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-09-30 13:19:44.114692' WHERE "spree_products"."id" = 43  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 154 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.115951' WHERE "spree_products"."id" = 43 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 43) LIMIT 1  (0.2ms) 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" = 53, "updated_at" = '2012-09-30 13:19:44.122402' WHERE "spree_products"."id" = 43 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 43 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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 (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 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 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" = 42 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" = 42 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" = 50 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" = 72 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 76 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 76 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 77 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.7ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:44 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 54], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (3.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", Sun, 30 Sep 2012 13:19: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", 54], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (4.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 13:19:44.228067', "parent_id" = 79 WHERE "spree_taxons"."id" = 80 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 79]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 80]] 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 = 80 THEN 79 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 79]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 80]]  (4.0ms) 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" = 79 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.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, 30 Sep 2012 13:19:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_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, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.266938' 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", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.268479' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 155 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.270016' WHERE "spree_products"."id" = 44  (0.1ms) 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.1ms) 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.1ms) 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.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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:44 UTC +00:00], ["product_id", nil], ["property_id", 41], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 44, "updated_at" = '2012-09-30 13:19:44.277502' WHERE "spree_product_properties"."id" = 50 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" != 44) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_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.4ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (79, 44) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 44) LIMIT 1 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Taxon Load (0.2ms) 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", Sun, 30 Sep 2012 13:19: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 55], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (81, 44) 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" != 44) 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:44 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" = 44 AND "spree_option_types"."id" = 29 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["option_type_id", 29], ["position", 1], ["product_id", 44], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 29 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" = 29) ORDER BY position 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "jpeg"], ["option_type_id", 29], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] 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-09-30 13:19:44.312400' 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", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.313690' WHERE "spree_products"."id" = 44  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (156, 52) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 44]] Spree::Variant Load (0.1ms) 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-for-ar-loader' AND "spree_products"."id" != 44) 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" = 44 AND "spree_option_types"."id" = 29 ORDER 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" = 29 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "PDF"], ["option_type_id", 29], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (0.1ms) 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::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-09-30 13:19:44.323936' 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", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.325188' WHERE "spree_products"."id" = 44  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (53, 157) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 44]] Spree::Variant Load (0.1ms) 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-for-ar-loader' AND "spree_products"."id" != 44) 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" = 44 AND "spree_option_types"."id" = 29 ORDER 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" = 29 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "PNG"], ["option_type_id", 29], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (0.1ms) 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::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-09-30 13:19:44.335063' 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", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.336307' WHERE "spree_products"."id" = 44  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (54, 158) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 44]] Current value to assign : Current value to assign : 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 44) LIMIT 1  (0.1ms) 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.1ms) 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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 156 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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-09-30 13:19:44.355830' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 156 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.357016' 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-09-30 13:19:44.358348' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 157 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.359328' 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-09-30 13:19:44.360675' WHERE "spree_products"."id" = 44  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 158 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.361706' WHERE "spree_products"."id" = 44 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' 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)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-30 13:19:44.366250' WHERE "spree_products"."id" = 44 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 44 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:44 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-09-30 13:19:44.376948' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 45], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.378246' WHERE "spree_products"."id" = 45  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 159 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.379790' 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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) 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.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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:44 UTC +00:00], ["product_id", nil], ["property_id", 42], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 45, "updated_at" = '2012-09-30 13:19:44.387001' WHERE "spree_product_properties"."id" = 51 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" != 45) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_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.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 79) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 45) 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Taxon Load (0.1ms) 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 56], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 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" != 45) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 54 AND "spree_taxons"."parent_id" = 79 AND "spree_taxons"."name" = 'Nature' 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", 79]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 79], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 54], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 79]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 83]] SQL (0.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 = 83 THEN 79 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 79]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 83]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 54 AND "spree_taxons"."parent_id" = 83 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", 83]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Seascape"], ["parent_id", 83], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 54], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 83]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 84]] SQL (0.1ms) 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 = 84 THEN 83 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 83]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 84]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 83)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 84) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 45) 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" = 45 AND "spree_option_types"."id" = 29 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" = 45) ORDER BY position DESC 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, 30 Sep 2012 13:19:44 UTC +00:00], ["option_type_id", 29], ["position", 1], ["product_id", 45], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 29 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:44.425627' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.426918' WHERE "spree_products"."id" = 45  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (52, 160) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 45]] Spree::Variant Load (0.1ms) 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-excel-load-via-jruby' AND "spree_products"."id" != 45) 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" = 45 AND "spree_option_types"."id" = 29 ORDER 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" = 29 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (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::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.598925' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 45], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.600829' WHERE "spree_products"."id" = 45  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (161, 53) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 45]] Spree::Variant Load (0.1ms) 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-excel-load-via-jruby' AND "spree_products"."id" != 45) 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" = 45 AND "spree_option_types"."id" = 29 ORDER 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" = 29 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (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::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-09-30 13:19:44.612268' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.614176' WHERE "spree_products"."id" = 45  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (162, 54) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 45]] Current value to assign : Current value to assign : 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-excel-load-via-jruby' AND "spree_products"."id" != 45) LIMIT 1  (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)  (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.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 160 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.633580' WHERE "spree_products"."id" = 45  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 160 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.634821' 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.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.636361' WHERE "spree_products"."id" = 45  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 161 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.637422' 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.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.638906' WHERE "spree_products"."id" = 45  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 162 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.639953' WHERE "spree_products"."id" = 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" != 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.1ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-30 13:19:44.643455' WHERE "spree_products"."id" = 45 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 45 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:44 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-09-30 13:19:44.652432' 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_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.653788' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 163 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.655464' 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_002' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:44 UTC +00:00], ["product_id", nil], ["property_id", 43], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 46, "updated_at" = '2012-09-30 13:19:44.663201' 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" != 46) 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, 30 Sep 2012 13:19:44 UTC +00:00], ["product_id", nil], ["property_id", 42], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 46, "updated_at" = '2012-09-30 13:19:44.667374' 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-third-row-in-future' AND "spree_products"."id" != 46) 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:44 UTC +00:00], ["product_id", nil], ["property_id", 44], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 46, "updated_at" = '2012-09-30 13:19:44.672269' 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-third-row-in-future' AND "spree_products"."id" != 46) 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 57], ["updated_at", Sun, 30 Sep 2012 13:19:44 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" = 46 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 85) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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" = 54 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" = 54 AND "spree_taxons"."parent_id" = 79 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 80)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 79) 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" != 46) 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" = 46 AND "spree_option_types"."id" = 29 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.2ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["option_type_id", 29], ["position", 1], ["product_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 29 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:44.695239' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.696569' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (52, 164) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 46]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 46) 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" = 46 AND "spree_option_types"."id" = 29 ORDER 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" = 29 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (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::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-09-30 13:19:44.705063' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.706416' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (53, 165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 46]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 46) 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" = 46 AND "spree_option_types"."id" = 29 ORDER 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" = 29 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (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::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-09-30 13:19:44.714776' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.716079' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (54, 166) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 46]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 46) 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:44 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" = 46 AND "spree_option_types"."id" = 30 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.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["option_type_id", 30], ["position", 2], ["product_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 30 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "black_white"], ["option_type_id", 30], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (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::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-09-30 13:19:44.729696' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.730969' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (55, 167) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 46]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 46) 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.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" = 46 AND "spree_option_types"."id" = 30 ORDER 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" = 30 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "colour"], ["option_type_id", 30], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (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::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-09-30 13:19:44.740896' 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_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.742146' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (168, 56) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 46]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 46) LIMIT 1  (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)  (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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 164 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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.1ms) 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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 168 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" != 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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.759598' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 164 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.760969' 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-09-30 13:19:44.762629' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 165 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.763817' 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-09-30 13:19:44.765372' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 166 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.766430' 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-09-30 13:19:44.767809' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 167 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.768886' 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-09-30 13:19:44.770408' WHERE "spree_products"."id" = 46  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 168 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.771491' WHERE "spree_products"."id" = 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" != 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)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-30 13:19:44.775217' WHERE "spree_products"."id" = 46 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 46 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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 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" = 44 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" = 44 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" = 45 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" = 45 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" = 54 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" = 79 LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 83 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 83 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 84 ORDER BY "lft" SQL (4.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (4.3ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:44 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.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, 30 Sep 2012 13:19: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", 58], ["updated_at", Sun, 30 Sep 2012 13:19:44 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 58], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]]  (5.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 13:19:44.874896', "parent_id" = 86 WHERE "spree_taxons"."id" = 87 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 86]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 87]] 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 = 87 THEN 86 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 86]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 87]]  (3.5ms) 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" = 86 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.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, 30 Sep 2012 13:19:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_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, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.899396' 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_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.900932' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 169 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.902534' 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_001' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:44 UTC +00:00], ["product_id", nil], ["property_id", 45], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 47, "updated_at" = '2012-09-30 13:19:44.910980' WHERE "spree_product_properties"."id" = 55 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" != 47) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 86) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 47) 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::Taxon Load (0.1ms) 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 59], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 88) 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" != 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 SQL (0.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:44 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" = 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["option_type_id", 31], ["position", 1], ["product_id", 47], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 31 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" = 31) ORDER BY position 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, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "jpeg"], ["option_type_id", 31], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 UTC +00:00]] 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-09-30 13:19:44.941131' 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_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.942458' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (170, 57) Spree::Product Load (0.0ms) 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-product-for-ar-loader' AND "spree_products"."id" != 47) 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" = 47 AND "spree_option_types"."id" = 31 ORDER 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" = 31 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "PDF"], ["option_type_id", 31], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 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-09-30 13:19:44.952625' 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_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:44.954106' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (58, 171) Spree::Product Load (0.0ms) 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-product-for-ar-loader' AND "spree_products"."id" != 47) 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" = 47 AND "spree_option_types"."id" = 31 ORDER 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" = 31 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" = 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", Sun, 30 Sep 2012 13:19:44 UTC +00:00], ["name", "PNG"], ["option_type_id", 31], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:44 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.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.121446' 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_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.123108' WHERE "spree_products"."id" = 47  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (59, 172) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 47]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) 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-product-for-ar-loader' 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.1ms) 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.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 172 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" != 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) 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-09-30 13:19:45.141262' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 170 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.142527' 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-09-30 13:19:45.144055' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 171 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.145139' 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-09-30 13:19:45.146694' WHERE "spree_products"."id" = 47  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 172 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.147786' WHERE "spree_products"."id" = 47 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" != 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.1ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-30 13:19:45.151466' WHERE "spree_products"."id" = 47 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 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-09-30 13:19:45.161134' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 48], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.162579' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 173 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.164235' 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_003' LIMIT 1 SQL (0.2ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["product_id", nil], ["property_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 48, "updated_at" = '2012-09-30 13:19:45.171904' WHERE "spree_product_properties"."id" = 56 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" != 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" = 58 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" = 48 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 86) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 48) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.1ms) 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 60], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 89) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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" = 58 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" = 58 AND "spree_taxons"."parent_id" = 86 AND "spree_taxons"."name" = 'Nature' 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", 86]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 86], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 58], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 86]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 90]] 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 = 90 THEN 86 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 86]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 90]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 58 AND "spree_taxons"."parent_id" = 90 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", 90]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 90], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 58], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 90]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 91]] SQL (0.1ms) 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 = 91 THEN 90 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 90]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 91]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 90)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 91) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 48) 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" = 48 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" = 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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["option_type_id", 31], ["position", 1], ["product_id", 48], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 31 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:45.213460' 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_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.214900' WHERE "spree_products"."id" = 48  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (174, 57) Spree::Product Load (0.0ms) 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-excel-load-via-jruby' AND "spree_products"."id" != 48) 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" = 48 AND "spree_option_types"."id" = 31 ORDER 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" = 31 AND "spree_option_values"."name" = 'PDF' 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) 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-09-30 13:19:45.225019' 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_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.226496' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (58, 175) Spree::Product Load (0.0ms) 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-excel-load-via-jruby' AND "spree_products"."id" != 48) 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" = 48 AND "spree_option_types"."id" = 31 ORDER 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" = 31 AND "spree_option_values"."name" = 'PNG' 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) 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-09-30 13:19:45.234992' 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_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.236344' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (176, 59) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 48]] Current value to assign : Current value to assign : 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-excel-load-via-jruby' 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.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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 174 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' 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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.251560' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 174 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.252693' 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-09-30 13:19:45.254044' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 175 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.255015' 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-09-30 13:19:45.256364' WHERE "spree_products"."id" = 48  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 176 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.257375' WHERE "spree_products"."id" = 48 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" != 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" = 11, "updated_at" = '2012-09-30 13:19:45.260578' WHERE "spree_products"."id" = 48 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] 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-09-30 13:19:45.268370' 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_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.269618' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 177 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.271088' WHERE "spree_products"."id" = 49  (0.1ms) 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.1ms) 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_002' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["product_id", nil], ["property_id", 47], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 49, "updated_at" = '2012-09-30 13:19:45.278106' 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" != 49) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["product_id", nil], ["property_id", 46], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 49, "updated_at" = '2012-09-30 13:19:45.282011' WHERE "spree_product_properties"."id" = 58 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["product_id", nil], ["property_id", 48], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 49, "updated_at" = '2012-09-30 13:19:45.286606' WHERE "spree_product_properties"."id" = 59 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 61], ["updated_at", Sun, 30 Sep 2012 13:19:45 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" = 49 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 92) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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" = 58 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" = 58 AND "spree_taxons"."parent_id" = 86 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 87)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (49, 86) 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" != 49) 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" = 49 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" = 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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["option_type_id", 31], ["position", 1], ["product_id", 49], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 31 AND "spree_option_values"."name" = 'jpeg' 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-09-30 13:19:45.307342' 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_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.308696' WHERE "spree_products"."id" = 49  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (178, 57) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 49]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) 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" = 49 AND "spree_option_types"."id" = 31 ORDER 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" = 31 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) 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::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-09-30 13:19:45.316916' 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_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.318224' WHERE "spree_products"."id" = 49  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (179, 58) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 49]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) 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" = 49 AND "spree_option_types"."id" = 31 ORDER 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" = 31 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) 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::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-09-30 13:19:45.326160' 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_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.327420' WHERE "spree_products"."id" = 49  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (59, 180) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 49]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) 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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:45 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" = 49 AND "spree_option_types"."id" = 32 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.1ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["option_type_id", 32], ["position", 2], ["product_id", 49], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 32 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" = 32) ORDER BY position 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "black_white"], ["option_type_id", 32], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]]  (0.1ms) 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::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-09-30 13:19:45.340786' 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_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.342052' WHERE "spree_products"."id" = 49  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (60, 181) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 49]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) 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.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" = 49 AND "spree_option_types"."id" = 32 ORDER 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" = 32 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" = 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", Sun, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "colour"], ["option_type_id", 32], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]]  (0.1ms) 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::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-09-30 13:19:45.351942' 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_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.353181' WHERE "spree_products"."id" = 49  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (182, 61) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 49]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 49) LIMIT 1  (0.1ms) 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.1ms) 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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 178 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 181 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 182 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" != 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) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.373417' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 178 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.375487' 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-09-30 13:19:45.377816' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 179 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.379061' 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-09-30 13:19:45.380628' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 180 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.381690' 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-09-30 13:19:45.383050' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 181 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.384041' 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-09-30 13:19:45.385360' WHERE "spree_products"."id" = 49  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 182 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.386354' WHERE "spree_products"."id" = 49 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" != 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)  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-30 13:19:45.390157' WHERE "spree_products"."id" = 49  (54.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.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" = 47 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" = 47 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" = 48 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" = 48 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" = 58 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 86 LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 90 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 90 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 91 ORDER BY "lft" SQL (3.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) 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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.701321' 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", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.702979' WHERE "spree_products"."id" = 50  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.704682' 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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) 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::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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:45 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.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 62], ["updated_at", Sun, 30 Sep 2012 13:19:45 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" = 93 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", 93]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 93], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19: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", 93]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 94]] 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 = 94 THEN 93 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 93]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 94]] Spree::Taxon Load (0.2ms) SELECT "spree_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 : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (50, 94)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (50, 93) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 50) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:45 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", Sun, 30 Sep 2012 13:19: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 63], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (50, 95) 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" != 50) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 183 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" != 50) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-30 13:19:45.745993' WHERE "spree_products"."id" = 50  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 183 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.748180' WHERE "spree_products"."id" = 50 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 50 Row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320Paintings>LandscapeWaterColour2 succesfully SAVED : ID 50 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.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", Sun, 30 Sep 2012 13:19:45 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, 30 Sep 2012 13:19:45 UTC +00:00]] 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-09-30 13:19:45.757373' WHERE "spree_products"."id" = 51 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.758715' WHERE "spree_products"."id" = 51  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.760305' 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::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_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.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (51, 93) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 51) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:45 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.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 64], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (51, 96) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 51) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 AND "spree_taxons"."parent_id" = 93 AND "spree_taxons"."name" = 'Nature' 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", 93]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 93], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 93]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 97]] SQL (0.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 = 97 THEN 93 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 93]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 97]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 AND "spree_taxons"."parent_id" = 97 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", 97]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 97], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 97]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 98]] SQL (0.1ms) 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 = 98 THEN 97 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 97]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 98]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (51, 97)  (0.0ms) 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-excel-load' AND "spree_products"."id" != 51) LIMIT 1 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 51) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-30 13:19:45.795546' WHERE "spree_products"."id" = 51  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 184 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.797351' WHERE "spree_products"."id" = 51 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 51 Row test_ct_002Demo Excel Loadless blah2011-05-1410030PaintingsOilsPaintings>Nature>Landscape5 succesfully SAVED : ID 51 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] 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-09-30 13:19:45.805615' 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", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.806882' WHERE "spree_products"."id" = 52  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 185 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.808413' 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::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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:45 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 65], ["updated_at", Sun, 30 Sep 2012 13:19:45 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" = 99 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", 99]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 99], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 65], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 99]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 100]] 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 = 100 THEN 99 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 99]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 100]] Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 100)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 99) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 52) 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, 30 Sep 2012 13:19:45 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:19:45 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 66], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (52, 101) 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" != 52) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 185 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" != 52) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-30 13:19:45.837576' WHERE "spree_products"."id" = 52  (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-09-30 13:19:45.839383' WHERE "spree_products"."id" = 52 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 52 Row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 succesfully SAVED : ID 52 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", Sun, 30 Sep 2012 13:19:45 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, 30 Sep 2012 13:19:45 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-09-30 13:19:45.847423' 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", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.848686' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.850216' 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.1ms) 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::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" = 65 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" = 65 AND "spree_taxons"."parent_id" = 99 AND "spree_taxons"."name" = 'Landscape' 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" = 53 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 100)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 99) 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" != 53) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 AND "spree_taxons"."parent_id" = 93 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 AND "spree_taxons"."parent_id" = 97 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", 97]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 97], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 97]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 102]] SQL (0.2ms) 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 = 102 THEN 97 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 97]] 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 "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 AND "spree_taxons"."parent_id" = 102 AND "spree_taxons"."name" = 'Cliffs' 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", 102]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 102], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00: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.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 = 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.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 103]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 97)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 102)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 103)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (53, 93) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 53) LIMIT 1 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 53) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-30 13:19:45.880921' WHERE "spree_products"."id" = 53  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 186 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.882727' WHERE "spree_products"."id" = 53 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 53 Row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 succesfully SAVED : ID 53 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.0ms) 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", Sun, 30 Sep 2012 13:19:45 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, 30 Sep 2012 13:19:45 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-09-30 13:19:45.890811' 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", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 54], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.892053' WHERE "spree_products"."id" = 54  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 187 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.893508' WHERE "spree_products"."id" = 54  (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.1ms) 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.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::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" = 65 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" = 65 AND "spree_taxons"."parent_id" = 99 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."parent_id" = 100 AND "spree_taxons"."name" = 'Bristol' 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", 100]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:45 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", 100], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 65], ["updated_at", Sun, 30 Sep 2012 13:19:45 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 100]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 104]] SQL (0.2ms) 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 = 104 THEN 100 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 100]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 104]] Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (100, 54)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (104, 54)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (99, 54) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 54) 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" = 64 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 (96, 54) 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" != 54) LIMIT 1 Spree::InventoryUnit Load (0.1ms) 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 54) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-30 13:19:45.915924' WHERE "spree_products"."id" = 54  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 187 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:45.917758' WHERE "spree_products"."id" = 54 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 54 Row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 succesfully SAVED : ID 54 Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 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" = 63 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" = 64 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" = 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"   (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" = 62 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 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 93 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 93) 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" = 97 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 97) 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" != 97) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 93 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 97 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" = 102 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" = 103 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" != 102) 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.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" = 65 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 100 ORDER BY "lft" Spree::Taxon Load (0.6ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 100 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" = 104 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" != 104) 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.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 64 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 64 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" = 96 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" = 66 Spree::Taxon Load (0.3ms) 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.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 101 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 (4.0ms) DELETE FROM "spree_option_types" SQL (10.2ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (9.3ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) 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.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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.145397' 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", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.148117' WHERE "spree_products"."id" = 55  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.151211' 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.1ms) 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::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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] 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  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 67], ["updated_at", Sun, 30 Sep 2012 13:19:46 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" = 105 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", 105]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 105], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 67], ["updated_at", Sun, 30 Sep 2012 13:19: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", 105]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 106]] 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 = 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]] Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (106, 55)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (105, 55) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 55) 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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:46 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", Sun, 30 Sep 2012 13:19: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", 68], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (107, 55) 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" != 55) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 188 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" != 55) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-30 13:19:46.344337' WHERE "spree_products"."id" = 55  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 188 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.346224' WHERE "spree_products"."id" = 55 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 55 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.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", Sun, 30 Sep 2012 13:19:46 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, 30 Sep 2012 13:19:46 UTC +00:00]] 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-09-30 13:19:46.355107' 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", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.356471' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.358046' 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.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 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::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' 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 Spree::Taxon Load (0.1ms) SELECT "spree_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 : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (105, 56) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 56) 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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:46 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 69], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (108, 56) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' 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" = 67 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" = 67 AND "spree_taxons"."parent_id" = 105 AND "spree_taxons"."name" = 'Nature' 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", 105]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 105], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 67], ["updated_at", Sun, 30 Sep 2012 13:19: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", 105]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 109]] 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 = 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.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", 109]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" = 109 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", 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", Sun, 30 Sep 2012 13:19: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", "Landscape"], ["parent_id", 109], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 67], ["updated_at", Sun, 30 Sep 2012 13:19: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", 109]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 110]] 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 = 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.0ms) 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", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (109, 56)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (110, 56) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 56) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 189 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 56) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-30 13:19:46.397008' WHERE "spree_products"."id" = 56  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 189 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.398944' WHERE "spree_products"."id" = 56 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 56 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.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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 57 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.407426' WHERE "spree_products"."id" = 57 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.408753' WHERE "spree_products"."id" = 57  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 190 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.410242' WHERE "spree_products"."id" = 57  (0.1ms) 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.1ms) 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.1ms) 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" = 'Drawings' LIMIT 1 SQL (0.1ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:46 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 70], ["updated_at", Sun, 30 Sep 2012 13:19:46 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" = 111 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", 111]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:46 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", 111], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 70], ["updated_at", Sun, 30 Sep 2012 13:19: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", 111]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 112]] 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 = 112 THEN 111 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 111]] 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.1ms) SELECT "spree_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", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (112, 57)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (111, 57) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 57) 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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:19:46 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", Sun, 30 Sep 2012 13:19:46 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", 71], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (113, 57) 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" != 57) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 190 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 57) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-30 13:19:46.440053' WHERE "spree_products"."id" = 57  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 190 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.441798' WHERE "spree_products"."id" = 57 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 57 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", Sun, 30 Sep 2012 13:19:46 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, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 58 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.449699' 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_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.450952' WHERE "spree_products"."id" = 58  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 191 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.452472' 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 (0.1ms) 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" = 'Drawings' 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"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" = 111 AND "spree_taxons"."name" = 'Landscape' 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 : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (112, 58)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (111, 58) 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" != 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" = 67 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" = 67 AND "spree_taxons"."parent_id" = 105 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" = 109 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", 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", Sun, 30 Sep 2012 13:19:46 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", 109], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 67], ["updated_at", Sun, 30 Sep 2012 13:19: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", 109]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 114]] SQL (0.2ms) 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 = 114 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.0ms) 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", 114]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 AND "spree_taxons"."parent_id" = 114 AND "spree_taxons"."name" = 'Cliffs' 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", 114]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:46 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", 114], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 67], ["updated_at", Sun, 30 Sep 2012 13:19: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", 114]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 115]] 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 = 115 THEN 114 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 114]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 115]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (109, 58)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (114, 58)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (115, 58)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (105, 58) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' 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" = 191 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 58) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-30 13:19:46.483606' WHERE "spree_products"."id" = 58  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 191 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.485395' WHERE "spree_products"."id" = 58 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 58 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.0ms) 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", Sun, 30 Sep 2012 13:19:46 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, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 59 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.493265' 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_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.494518' WHERE "spree_products"."id" = 59  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.495973' 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 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"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" = 111 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."parent_id" = 112 AND "spree_taxons"."name" = 'Bristol' 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", Sun, 30 Sep 2012 13:19:46 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", 112], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 70], ["updated_at", Sun, 30 Sep 2012 13:19: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", 112]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 116]] SQL (0.2ms) 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 = 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" 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", "Bristol", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (59, 112)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (59, 116)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (59, 111) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 59) 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" = 69 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 (59, 108) 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" != 59) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 192 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" != 59) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-30 13:19:46.519649' WHERE "spree_products"."id" = 59  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 192 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.521506' WHERE "spree_products"."id" = 59 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 59  (5.2ms) 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" = 67 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" = 68 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" = 69 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" = 70 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" = 71 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" = 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.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 105 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 105) 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" = 109 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 109) 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" != 109) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) 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"."id" = 109 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"."parent_id" = 114 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" = 115 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" != 114) 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" = 70 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 112 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 112 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" = 116 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" != 116) 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" = 69 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 108 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" = 71 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 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 113 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] 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  (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, 30 Sep 2012 13:19: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", 72], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:19: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", 72], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]]  (6.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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.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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 60 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.662696' WHERE "spree_products"."id" = 60 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.664307' WHERE "spree_products"."id" = 60  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 193 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.666349' 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::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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:46 UTC +00:00], ["product_id", nil], ["property_id", 49], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 60, "updated_at" = '2012-09-30 13:19:46.674500' 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-product-for-ar-loader' 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" = 72 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" = 60 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 117) 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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] 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  (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, 30 Sep 2012 13:19: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", 73], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (60, 119) 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" != 60) 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", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:46 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" = 60 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" = 60) ORDER BY position DESC 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, 30 Sep 2012 13:19:46 UTC +00:00], ["option_type_id", 33], ["position", 1], ["product_id", 60], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 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" = 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", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 33], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:46 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-09-30 13:19:46.862099' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 60], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.863554' WHERE "spree_products"."id" = 60  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (62, 194) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 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" = 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", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 33], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:46 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-09-30 13:19:46.869161' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 60], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.870482' WHERE "spree_products"."id" = 60  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (195, 63) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 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" = 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", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 33], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:46 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-09-30 13:19:46.875545' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 60], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.876825' WHERE "spree_products"."id" = 60  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (196, 64) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 60]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 60) LIMIT 1  (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)  (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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) 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::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 196 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" != 60) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) 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-09-30 13:19:46.895282' WHERE "spree_products"."id" = 60  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 194 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.896715' WHERE "spree_products"."id" = 60 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-09-30 13:19:46.898369' WHERE "spree_products"."id" = 60  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 195 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.899518' WHERE "spree_products"."id" = 60 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-09-30 13:19:46.901215' WHERE "spree_products"."id" = 60  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 196 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.902469' WHERE "spree_products"."id" = 60 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 60) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 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-09-30 13:19:46.906510' WHERE "spree_products"."id" = 60 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 60 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:46 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-09-30 13:19:46.916318' 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", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.917766' WHERE "spree_products"."id" = 61  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 197 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.919385' 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::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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["product_id", nil], ["property_id", 50], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 61, "updated_at" = '2012-09-30 13:19:46.927014' 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-excel-load-via-jruby' AND "spree_products"."id" != 61) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' 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.1ms) SELECT "spree_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 : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 117) 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, 30 Sep 2012 13:19:46 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:46 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.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 74], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 120) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 AND "spree_taxons"."parent_id" = 117 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", 117]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Nature"], ["parent_id", 117], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 72], ["updated_at", Sun, 30 Sep 2012 13:19: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", 117]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 121]] SQL (0.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 = 121 THEN 117 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 117]] 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"."taxonomy_id" = 72 AND "spree_taxons"."parent_id" = 121 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", 121]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", "Seascape"], ["parent_id", 121], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 72], ["updated_at", Sun, 30 Sep 2012 13:19: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", 121]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 122]] 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 = 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"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 121)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 122) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 61) 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" = 61 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" = 61) ORDER BY position DESC 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, 30 Sep 2012 13:19:46 UTC +00:00], ["option_type_id", 33], ["position", 1], ["product_id", 61], ["updated_at", Sun, 30 Sep 2012 13:19:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:46.963040' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 61], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.964381' WHERE "spree_products"."id" = 61  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (198, 62) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 AND "spree_option_values"."name" = 'PDF' LIMIT 1 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-09-30 13:19:46.967313' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 61], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.968495' WHERE "spree_products"."id" = 61  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (63, 199) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 AND "spree_option_values"."name" = 'PNG' LIMIT 1 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-09-30 13:19:46.971335' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 61], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.972486' WHERE "spree_products"."id" = 61  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (64, 200) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 61]] Current value to assign : 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 61) LIMIT 1  (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)  (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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC 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 (0.1ms) 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::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 61) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) 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-09-30 13:19:46.986959' WHERE "spree_products"."id" = 61  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 198 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.988096' WHERE "spree_products"."id" = 61 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-09-30 13:19:46.989439' WHERE "spree_products"."id" = 61  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 199 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.990422' WHERE "spree_products"."id" = 61 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-09-30 13:19:46.991801' WHERE "spree_products"."id" = 61  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 200 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:46.992784' WHERE "spree_products"."id" = 61 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 61) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 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-09-30 13:19:46.995769' WHERE "spree_products"."id" = 61 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 61 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.003808' WHERE "spree_products"."id" = 62 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.005072' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 201 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.006591' 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.1ms) 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::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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 51], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 62, "updated_at" = '2012-09-30 13:19:47.013920' WHERE "spree_product_properties"."id" = 62 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, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 50], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 62, "updated_at" = '2012-09-30 13:19:47.016726' WHERE "spree_product_properties"."id" = 63 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 52], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 62, "updated_at" = '2012-09-30 13:19:47.020428' WHERE "spree_product_properties"."id" = 64 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 62) 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 75 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 75], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 62 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (123, 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" = 72 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" = 117 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", 117]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:47 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", 117], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 72], ["updated_at", Sun, 30 Sep 2012 13:19: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", 117]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 124]] 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 = 124 THEN 117 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 117]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 124]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (124, 62)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (117, 62) 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" != 62) 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" = 62 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" = 62) ORDER BY position DESC 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, 30 Sep 2012 13:19:47 UTC +00:00], ["option_type_id", 33], ["position", 1], ["product_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.048161' WHERE "spree_products"."id" = 62 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 62], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.049464' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (202, 62) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.052356' WHERE "spree_products"."id" = 62 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 62], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.053503' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (63, 203) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 33 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.056400' WHERE "spree_products"."id" = 62 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 62], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.057610' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (204, 64) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 62]] 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:47 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" = 62 AND "spree_option_types"."id" = 34 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" = 62) ORDER BY position DESC 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, 30 Sep 2012 13:19:47 UTC +00:00], ["option_type_id", 34], ["position", 2], ["product_id", 62], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 34 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" = 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 34], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.070213' WHERE "spree_products"."id" = 62 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 62], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.071497' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (205, 65) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 34 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" = 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "colour"], ["option_type_id", 34], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (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::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.076693' WHERE "spree_products"."id" = 62 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 62], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.077885' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (206, 66) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 62]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 62) LIMIT 1  (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)  (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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 202 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) 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::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 206 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" != 62) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.094056' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 202 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.095289' WHERE "spree_products"."id" = 62 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.098795' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 203 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.100828' WHERE "spree_products"."id" = 62 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.102963' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 204 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.104485' WHERE "spree_products"."id" = 62 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.106587' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 205 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.107705' WHERE "spree_products"."id" = 62 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.109115' WHERE "spree_products"."id" = 62  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 206 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.110112' WHERE "spree_products"."id" = 62 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 62) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 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-09-30 13:19:47.113437' WHERE "spree_products"."id" = 62 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 62 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (53.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" = 60 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" = 60 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("spree_variants".is_master = 't') LIMIT 1 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 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 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" = 60 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.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" = 194 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" = 195 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 33 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" = 196 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.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.6ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (4.5ms) DELETE FROM "spree_taxonomies" SQL (4.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 76 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 76], ["updated_at", Sun, 30 Sep 2012 13:19:47 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", Sun, 30 Sep 2012 13:19: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", 76], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.448391' 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", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.450030' WHERE "spree_products"."id" = 63  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 207 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.451667' 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.1ms) 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::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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 53], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 63, "updated_at" = '2012-09-30 13:19:47.459784' WHERE "spree_product_properties"."id" = 65 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" != 63) 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" = 76 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" = 63 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 125) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 63) 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 77 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 77], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 127) 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" != 63) 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:47 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" = 63 AND "spree_option_types"."id" = 35 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" = 63) ORDER BY position DESC 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, 30 Sep 2012 13:19:47 UTC +00:00], ["option_type_id", 35], ["position", 1], ["product_id", 63], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 35 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" = 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "jpeg"], ["option_type_id", 35], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 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-09-30 13:19:47.493068' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 63], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.494586' WHERE "spree_products"."id" = 63  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (208, 67) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 63]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 63) 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" = 63 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"."option_type_id" = 35 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" = 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "PDF"], ["option_type_id", 35], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (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::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-09-30 13:19:47.505408' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 63], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.506734' WHERE "spree_products"."id" = 63  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (209, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 63]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 63) 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" = 63 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"."option_type_id" = 35 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" = 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "PNG"], ["option_type_id", 35], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (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::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-09-30 13:19:47.517657' WHERE "spree_products"."id" = 63 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 63], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.519806' WHERE "spree_products"."id" = 63  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (210, 69) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 63]] Current value to assign : Current value to assign : 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 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 63) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 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" = 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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 209 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 210 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" != 63) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) 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-09-30 13:19:47.548104' WHERE "spree_products"."id" = 63  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 208 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.549523' WHERE "spree_products"."id" = 63 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-09-30 13:19:47.551184' WHERE "spree_products"."id" = 63  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 209 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.552331' WHERE "spree_products"."id" = 63 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-09-30 13:19:47.553828' WHERE "spree_products"."id" = 63  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 210 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.554933' WHERE "spree_products"."id" = 63 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 63) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 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-09-30 13:19:47.558566' WHERE "spree_products"."id" = 63 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 63 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:47 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-09-30 13:19:47.568077' WHERE "spree_products"."id" = 64 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "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", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.569529' WHERE "spree_products"."id" = 64  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 211 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.571201' 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::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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 54], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 64, "updated_at" = '2012-09-30 13:19:47.579209' WHERE "spree_product_properties"."id" = 66 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" != 64) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 76 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" = 64 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 125) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 64) 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 78 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 78], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 128) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 64) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 76 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" = 76 AND "spree_taxons"."parent_id" = 125 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", 125]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 125], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 76], ["updated_at", Sun, 30 Sep 2012 13:19: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", 125]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 129]] 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 = 129 THEN 125 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") 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.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 129]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 76 AND "spree_taxons"."parent_id" = 129 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", 129]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 129], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 76], ["updated_at", Sun, 30 Sep 2012 13:19: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", 129]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 130]] 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 = 130 THEN 129 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 129]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 130]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 129)  (0.0ms) 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-excel-load-via-jruby' AND "spree_products"."id" != 64) 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" = 64 AND "spree_option_types"."id" = 35 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" = 64) ORDER BY position DESC 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, 30 Sep 2012 13:19:47 UTC +00:00], ["option_type_id", 35], ["position", 1], ["product_id", 64], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 35 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:47.623234' WHERE "spree_products"."id" = 64 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 64], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.624681' WHERE "spree_products"."id" = 64  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (67, 212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 64]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 64) 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" = 64 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"."option_type_id" = 35 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (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::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-09-30 13:19:47.634176' WHERE "spree_products"."id" = 64 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 64], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.636021' WHERE "spree_products"."id" = 64  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (213, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 64]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 64) 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" = 64 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"."option_type_id" = 35 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (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::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-09-30 13:19:47.646312' WHERE "spree_products"."id" = 64 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 64], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.648055' WHERE "spree_products"."id" = 64  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (69, 214) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 64]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 64) LIMIT 1  (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)  (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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) 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.1ms) 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.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 214 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" != 64) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) 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-09-30 13:19:47.664911' WHERE "spree_products"."id" = 64  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 212 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.666068' WHERE "spree_products"."id" = 64 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-09-30 13:19:47.667416' WHERE "spree_products"."id" = 64  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 213 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.668384' WHERE "spree_products"."id" = 64 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-09-30 13:19:47.669726' WHERE "spree_products"."id" = 64  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 214 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.670704' WHERE "spree_products"."id" = 64 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 64) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 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-09-30 13:19:47.673733' WHERE "spree_products"."id" = 64 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 64 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 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-09-30 13:19:47.681945' 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", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.683210' WHERE "spree_products"."id" = 65  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 215 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.684696' 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::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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 55], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 65, "updated_at" = '2012-09-30 13:19:47.691802' 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" != 65) 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, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 54], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 65, "updated_at" = '2012-09-30 13:19:47.695669' WHERE "spree_product_properties"."id" = 68 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["product_id", nil], ["property_id", 56], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 65, "updated_at" = '2012-09-30 13:19:47.700239' WHERE "spree_product_properties"."id" = 69 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 79 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 79], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 65 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 131) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' 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" = 76 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" = 76 AND "spree_taxons"."parent_id" = 125 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", 125]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:47 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", 125], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 76], ["updated_at", Sun, 30 Sep 2012 13:19: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", 125]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 132]] SQL (0.1ms) 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 = 132 THEN 125 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") 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.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 132]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 132)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 125) 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" != 65) 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" = 65 AND "spree_option_types"."id" = 35 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" = 65) ORDER BY position DESC 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, 30 Sep 2012 13:19:47 UTC +00:00], ["option_type_id", 35], ["position", 1], ["product_id", 65], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 35 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 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-09-30 13:19:47.727970' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 65], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.729282' WHERE "spree_products"."id" = 65  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (67, 216) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 65]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) 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" = 65 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"."option_type_id" = 35 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (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::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.891027' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 65], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.892644' WHERE "spree_products"."id" = 65  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (217, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 65]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) 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" = 65 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"."option_type_id" = 35 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (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::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-09-30 13:19:47.902660' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 65], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.904105' WHERE "spree_products"."id" = 65  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (218, 69) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 65]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:47 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" = 65 AND "spree_option_types"."id" = 36 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" = 65) ORDER BY position DESC 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, 30 Sep 2012 13:19:47 UTC +00:00], ["option_type_id", 36], ["position", 2], ["product_id", 65], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 36 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" = 36) ORDER BY position 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, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 36], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (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::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-09-30 13:19:47.920206' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 65], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.921602' WHERE "spree_products"."id" = 65  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (70, 219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 65]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) 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.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" = 65 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"."option_type_id" = 36 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" = 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", Sun, 30 Sep 2012 13:19:47 UTC +00:00], ["name", "colour"], ["option_type_id", 36], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:47 UTC +00:00]]  (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::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-09-30 13:19:47.932925' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 65], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.934335' WHERE "spree_products"."id" = 65  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (220, 71) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 65]] 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) LIMIT 1  (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)  (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 = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC 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::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::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::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 219 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) 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-third-row-in-future' AND "spree_products"."id" != 65) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) 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-09-30 13:19:47.955689' WHERE "spree_products"."id" = 65  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 216 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.957024' WHERE "spree_products"."id" = 65 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-09-30 13:19:47.958744' WHERE "spree_products"."id" = 65  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 217 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.960013' WHERE "spree_products"."id" = 65 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-09-30 13:19:47.961651' WHERE "spree_products"."id" = 65  (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-09-30 13:19:47.962927' WHERE "spree_products"."id" = 65 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-09-30 13:19:47.964586' WHERE "spree_products"."id" = 65  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 219 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.965666' WHERE "spree_products"."id" = 65 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-09-30 13:19:47.967076' WHERE "spree_products"."id" = 65  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 220 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:47.968102' WHERE "spree_products"."id" = 65 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 65) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 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-09-30 13:19:47.971662' WHERE "spree_products"."id" = 65 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 65 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.9ms) 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" = 63 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" = 63 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 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" = 63 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" = 208 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" = 209 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "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" 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" = 210 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 (45.1ms) 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 (46.4ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 80], ["updated_at", Sun, 30 Sep 2012 13:19:48 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 80], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.235722' 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", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.237272' WHERE "spree_products"."id" = 66  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 221 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.238811' 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.1ms) 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::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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:48 UTC +00:00], ["product_id", nil], ["property_id", 57], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 66, "updated_at" = '2012-09-30 13:19:48.246416' WHERE "spree_product_properties"."id" = 70 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" != 66) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 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" = 66 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (133, 66) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 66) 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 81 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 81], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (135, 66) 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" != 66) 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.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 66 AND "spree_option_types"."id" = 37 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" = 66) ORDER BY position DESC 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, 30 Sep 2012 13:19:48 UTC +00:00], ["option_type_id", 37], ["position", 1], ["product_id", 66], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 37 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" = 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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 37], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 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-09-30 13:19:48.276915' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 66], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.278419' WHERE "spree_products"."id" = 66  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (72, 222) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 66]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 66) 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" = 66 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"."option_type_id" = 37 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" = 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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 37], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (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::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-09-30 13:19:48.289613' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 66], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.290885' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (223, 73) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 66]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 66) 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" = 66 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"."option_type_id" = 37 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" = 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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "PNG"], ["option_type_id", 37], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (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::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-09-30 13:19:48.300883' 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", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 66], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.302173' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (224, 74) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 66]] Current value to assign : Current value to assign : 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 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 66) LIMIT 1  (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)  (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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC 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')) 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')) 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')) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 66) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) 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-09-30 13:19:48.320060' WHERE "spree_products"."id" = 66  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 222 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.321230' WHERE "spree_products"."id" = 66 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-09-30 13:19:48.322600' WHERE "spree_products"."id" = 66  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 223 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.323572' WHERE "spree_products"."id" = 66 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-09-30 13:19:48.324935' WHERE "spree_products"."id" = 66  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 224 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.326078' WHERE "spree_products"."id" = 66 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" != 66) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 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-09-30 13:19:48.329889' WHERE "spree_products"."id" = 66 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:19: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, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.338632' WHERE "spree_products"."id" = 67 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 67], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.339930' WHERE "spree_products"."id" = 67  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 225 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.341498' WHERE "spree_products"."id" = 67  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 67  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["product_id", nil], ["property_id", 58], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 67, "updated_at" = '2012-09-30 13:19:48.348784' WHERE "spree_product_properties"."id" = 71 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" != 67) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 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" = 67 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (133, 67) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 67) 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 82 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 82], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (136, 67) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 67) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 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" = 80 AND "spree_taxons"."parent_id" = 133 AND "spree_taxons"."name" = 'Nature' 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", 133]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 133], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 80], ["updated_at", Sun, 30 Sep 2012 13:19: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", 133]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 137]] SQL (0.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 = 137 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", 137]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 AND "spree_taxons"."parent_id" = 137 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", 137]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 137], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 80], ["updated_at", Sun, 30 Sep 2012 13:19: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", 137]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 138]] 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 = 138 THEN 137 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 137]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 138]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (137, 67)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (138, 67) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 67) 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" = 67 AND "spree_option_types"."id" = 37 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" = 67) ORDER BY position DESC 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, 30 Sep 2012 13:19:48 UTC +00:00], ["option_type_id", 37], ["position", 1], ["product_id", 67], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 37 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.388466' WHERE "spree_products"."id" = 67 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 67], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.389788' WHERE "spree_products"."id" = 67  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (226, 72) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 67]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 67) 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" = 67 AND "spree_option_types"."id" = 37 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" = 37 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.554469' WHERE "spree_products"."id" = 67 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 67], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.556029' WHERE "spree_products"."id" = 67  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (73, 227) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 67]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 67) 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" = 67 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"."option_type_id" = 37 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.565841' WHERE "spree_products"."id" = 67 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 67], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.567324' WHERE "spree_products"."id" = 67  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (74, 228) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 67]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 67) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 227 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 228 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" != 67) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.584579' WHERE "spree_products"."id" = 67  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 226 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.585825' WHERE "spree_products"."id" = 67 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.587300' WHERE "spree_products"."id" = 67  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 227 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.588374' WHERE "spree_products"."id" = 67 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.589813' WHERE "spree_products"."id" = 67  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 228 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.590844' WHERE "spree_products"."id" = 67 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" != 67) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 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-09-30 13:19:48.594331' WHERE "spree_products"."id" = 67 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.602900' WHERE "spree_products"."id" = 68 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 68], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.604325' WHERE "spree_products"."id" = 68  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 229 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.605927' WHERE "spree_products"."id" = 68  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 68  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["product_id", nil], ["property_id", 59], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 68, "updated_at" = '2012-09-30 13:19:48.613462' WHERE "spree_product_properties"."id" = 72 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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, 30 Sep 2012 13:19:48 UTC +00:00], ["product_id", nil], ["property_id", 58], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 68, "updated_at" = '2012-09-30 13:19:48.617563' WHERE "spree_product_properties"."id" = 73 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["product_id", nil], ["property_id", 60], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 68, "updated_at" = '2012-09-30 13:19:48.622498' WHERE "spree_product_properties"."id" = 74 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 83 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 83], ["updated_at", Sun, 30 Sep 2012 13:19: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" = 68 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (68, 139) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 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" = 80 AND "spree_taxons"."parent_id" = 133 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", 133]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 133], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 80], ["updated_at", Sun, 30 Sep 2012 13:19: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", 133]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 140]] 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 = 140 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", 140]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (68, 140)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (68, 133) 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" != 68) 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" = 68 AND "spree_option_types"."id" = 37 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" = 68) ORDER BY position DESC 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, 30 Sep 2012 13:19:48 UTC +00:00], ["option_type_id", 37], ["position", 1], ["product_id", 68], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 37 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.651477' WHERE "spree_products"."id" = 68 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 68], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.652862' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (72, 230) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 68]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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" = 68 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"."option_type_id" = 37 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.661248' WHERE "spree_products"."id" = 68 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 68], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.662573' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (231, 73) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 68]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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" = 68 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"."option_type_id" = 37 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.670862' WHERE "spree_products"."id" = 68 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 68], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.672133' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (74, 232) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 68]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:48 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" = 68 AND "spree_option_types"."id" = 38 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" = 68) ORDER BY position DESC 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, 30 Sep 2012 13:19:48 UTC +00:00], ["option_type_id", 38], ["position", 2], ["product_id", 68], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 38 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" = 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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 38], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.685804' WHERE "spree_products"."id" = 68 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 68], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.687092' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (75, 233) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 68]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) 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.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" = 68 AND "spree_option_types"."id" = 38 ORDER 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" = 38 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" = 38) ORDER BY position 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "colour"], ["option_type_id", 38], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.697025' WHERE "spree_products"."id" = 68 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 68], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.698266' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (76, 234) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 68]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 68) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 230 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 231 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 233 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 234 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" != 68) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.715750' WHERE "spree_products"."id" = 68  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 230 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.717083' WHERE "spree_products"."id" = 68 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.718637' WHERE "spree_products"."id" = 68  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 231 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.719794' WHERE "spree_products"."id" = 68 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.721424' WHERE "spree_products"."id" = 68  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 232 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.722493' WHERE "spree_products"."id" = 68 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.723857' WHERE "spree_products"."id" = 68  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 233 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.724848' WHERE "spree_products"."id" = 68 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.726173' WHERE "spree_products"."id" = 68  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 234 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.727156' WHERE "spree_products"."id" = 68 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" != 68) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 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-09-30 13:19:48.730925' WHERE "spree_products"."id" = 68  (128.5ms) 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" = 66 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" = 66 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 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" = 66 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" = 222 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" = 223 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 37 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" = 224 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.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (4.7ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (4.4ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 84 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19: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", 84], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:19: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", 84], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]]  (4.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.966529' WHERE "spree_products"."id" = 69 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 69], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.968049' WHERE "spree_products"."id" = 69  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 235 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.969608' WHERE "spree_products"."id" = 69  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 69  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:19:48 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" = 69 AND "spree_option_types"."id" = 39 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" = 69) ORDER BY position DESC 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, 30 Sep 2012 13:19:48 UTC +00:00], ["option_type_id", 39], ["position", 1], ["product_id", 69], ["updated_at", Sun, 30 Sep 2012 13:19:48 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", Sun, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:19:48 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" = 69 AND "spree_option_types"."id" = 40 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" = 69) ORDER BY position DESC 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, 30 Sep 2012 13:19:48 UTC +00:00], ["option_type_id", 40], ["position", 2], ["product_id", 69], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 39 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" = 39) ORDER BY position 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 39], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 40 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" = 40) ORDER BY position 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "colour"], ["option_type_id", 40], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.990872' WHERE "spree_products"."id" = 69 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 69], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:48.992164' WHERE "spree_products"."id" = 69  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (77, 236)  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (78, 236) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 39 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" = 39) 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, 30 Sep 2012 13:19:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 39], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 40 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.001426' WHERE "spree_products"."id" = 69 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 69], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.003003' WHERE "spree_products"."id" = 69  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (237, 79)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (237, 78) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 69]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 69) 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" = 69 AND "spree_option_types"."id" = 39 ORDER 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" = 39 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" = 39) ORDER BY position 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, 30 Sep 2012 13:19:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 39], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.015720' WHERE "spree_products"."id" = 69 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 69], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.017172' WHERE "spree_products"."id" = 69  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (80, 238) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 69]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 69) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 236 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 237 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 238 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" != 69) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.030721' WHERE "spree_products"."id" = 69  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 236 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.031876' WHERE "spree_products"."id" = 69 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.033205' WHERE "spree_products"."id" = 69  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 237 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.034176' WHERE "spree_products"."id" = 69 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.035513' WHERE "spree_products"."id" = 69  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 238 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.036499' WHERE "spree_products"."id" = 69 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" != 69) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 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-09-30 13:19:49.039761' WHERE "spree_products"."id" = 69 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.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.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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.047548' WHERE "spree_products"."id" = 70 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 70], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.202306' WHERE "spree_products"."id" = 70  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 239 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.204283' WHERE "spree_products"."id" = 70  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 70  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 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.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" = 70 AND "spree_option_types"."id" = 39 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" = 70) ORDER BY position DESC 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, 30 Sep 2012 13:19:49 UTC +00:00], ["option_type_id", 39], ["position", 1], ["product_id", 70], ["updated_at", Sun, 30 Sep 2012 13:19:49 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.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" = 70 AND "spree_option_types"."id" = 40 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" = 70) ORDER BY position DESC 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, 30 Sep 2012 13:19:49 UTC +00:00], ["option_type_id", 40], ["position", 2], ["product_id", 70], ["updated_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 40 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" = 40) ORDER BY position 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, 30 Sep 2012 13:19:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 40], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 39 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.225528' WHERE "spree_products"."id" = 70 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 70], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.227041' WHERE "spree_products"."id" = 70  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (240, 81)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (240, 77) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 70]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 70) 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" = 70 AND "spree_option_types"."id" = 39 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.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" = 70 AND "spree_option_types"."id" = 40 ORDER 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" = 40 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" = 39 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.240629' WHERE "spree_products"."id" = 70 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 70], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.242093' WHERE "spree_products"."id" = 70  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (81, 241)  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (80, 241) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 70]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 70) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 240 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 241 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" != 70) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.254699' WHERE "spree_products"."id" = 70  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 240 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.255899' WHERE "spree_products"."id" = 70 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.257405' WHERE "spree_products"."id" = 70  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 241 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.258429' WHERE "spree_products"."id" = 70 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" != 70) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 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-09-30 13:19:49.261828' WHERE "spree_products"."id" = 70 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.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", Sun, 30 Sep 2012 13:19: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", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.270349' WHERE "spree_products"."id" = 71 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 71], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.271686' WHERE "spree_products"."id" = 71  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 242 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.273286' WHERE "spree_products"."id" = 71  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 71  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 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.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" = 71 AND "spree_option_types"."id" = 39 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" = 71) ORDER BY position DESC 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, 30 Sep 2012 13:19:49 UTC +00:00], ["option_type_id", 39], ["position", 1], ["product_id", 71], ["updated_at", Sun, 30 Sep 2012 13:19:49 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.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" = 71 AND "spree_option_types"."id" = 40 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" = 71) ORDER BY position DESC 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, 30 Sep 2012 13:19:49 UTC +00:00], ["option_type_id", 40], ["position", 2], ["product_id", 71], ["updated_at", Sun, 30 Sep 2012 13:19:49 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.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Sun, 30 Sep 2012 13:19:49 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" = 71 AND "spree_option_types"."id" = 41 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" = 71) ORDER BY position DESC 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, 30 Sep 2012 13:19:49 UTC +00:00], ["option_type_id", 41], ["position", 3], ["product_id", 71], ["updated_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 40 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" = 41 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" = 41) ORDER BY position 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, 30 Sep 2012 13:19:49 UTC +00:00], ["name", "large"], ["option_type_id", 41], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 39 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.296093' WHERE "spree_products"."id" = 71 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 71], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.297386' WHERE "spree_products"."id" = 71  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (78, 243)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (82, 243)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (77, 243) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 40 AND "spree_option_values"."name" = 'sepia' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 40) ORDER BY position 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, 30 Sep 2012 13:19:49 UTC +00:00], ["name", "sepia"], ["option_type_id", 40], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:19:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 41 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" = 39 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.303478' WHERE "spree_products"."id" = 71 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 71], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.304685' WHERE "spree_products"."id" = 71  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (244, 83)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (244, 82)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (244, 77) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 71]] 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" = 71 AND "spree_option_types"."id" = 39 ORDER 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" = 39 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.312483' WHERE "spree_products"."id" = 71 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 71], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.313767' WHERE "spree_products"."id" = 71  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (80, 245) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 71]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 71) 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" = 71 AND "spree_option_types"."id" = 39 ORDER 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" = 39 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.322288' WHERE "spree_products"."id" = 71 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 71], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.324626' WHERE "spree_products"."id" = 71  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (79, 246) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 71]] 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.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" = 71 AND "spree_option_types"."id" = 40 ORDER 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" = 40 AND "spree_option_values"."name" = 'black_white' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.333228' WHERE "spree_products"."id" = 71 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 71], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:19:49.334813' WHERE "spree_products"."id" = 71  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (81, 247) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 71]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 71) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 71) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 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" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (75.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" = 69 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.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" = 69 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" = 236 Booted Spree using version 1.1.3 SQL (57.1ms) 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 (2.9ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (5.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 85 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, 30 Sep 2012 13:36: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", 85], ["updated_at", Sun, 30 Sep 2012 13:36:35 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", Sun, 30 Sep 2012 13:36:35 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", 85], ["updated_at", Sun, 30 Sep 2012 13:36:35 UTC +00:00]]  (4.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, 30 Sep 2012 13:36:35 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", 85], ["updated_at", Sun, 30 Sep 2012 13:36:35 UTC +00:00]]  (5.3ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.9ms) 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 (4.2ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (5.2ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 86 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, 30 Sep 2012 13:36: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", 86], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:36:36 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", 86], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 13:36:36 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", 86], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (4.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" = 86 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 86 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 86 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 87 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, 30 Sep 2012 13:36: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", 87], ["updated_at", Sun, 30 Sep 2012 13:36:36 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.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, 30 Sep 2012 13:36: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", 87], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (5.0ms) 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", Sun, 30 Sep 2012 13:36: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", 87], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (4.4ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (4.4ms) 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 (2.4ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 88 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, 30 Sep 2012 13:36: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", 88], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:36: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", 88], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (6.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", Sun, 30 Sep 2012 13:36: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", 88], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (3.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (3.2ms) 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 (4.5ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.7ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 89 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, 30 Sep 2012 13:36: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", 89], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 13:36: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", 89], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 13:36: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", 89], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]]  (4.6ms) 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.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.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 (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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.599024' WHERE "spree_products"."id" = 72 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 72], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.601435' WHERE "spree_products"."id" = 72  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 248 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.606113' WHERE "spree_products"."id" = 72  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 72  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["product_id", nil], ["property_id", 61], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 72, "updated_at" = '2012-09-30 13:36:36.636853' WHERE "spree_product_properties"."id" = 75 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" != 72) 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 90 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 90], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 72 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (72, 158) 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 91 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 91], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (72, 159) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 72) 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:36 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" = 72 AND "spree_option_types"."id" = 42 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" = 72) 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, 30 Sep 2012 13:36:36 UTC +00:00], ["option_type_id", 42], ["position", 1], ["product_id", 72], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 42 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 42) 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 42], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.697258' WHERE "spree_products"."id" = 72 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 72], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.698563' WHERE "spree_products"."id" = 72  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (84, 249) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 42 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 42) 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 42], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.709704' WHERE "spree_products"."id" = 72 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 72], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.711789' WHERE "spree_products"."id" = 72  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (250, 85) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 42 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 42) ORDER BY position 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, 30 Sep 2012 13:36:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 42], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.717768' WHERE "spree_products"."id" = 72 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 72], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.719261' WHERE "spree_products"."id" = 72  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (86, 251) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 72]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 72) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 249 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 250 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 251 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" != 72) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.751682' WHERE "spree_products"."id" = 72  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 249 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.752843' WHERE "spree_products"."id" = 72 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.754198' WHERE "spree_products"."id" = 72  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 250 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.755219' WHERE "spree_products"."id" = 72 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.757301' WHERE "spree_products"."id" = 72  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 251 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:36.759097' WHERE "spree_products"."id" = 72 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 72) 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" = 248 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 248) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 13:36:36 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 248], ["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" != 72) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.531704', "count_on_hand" = 25 WHERE "spree_products"."id" = 72 Current 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.3ms) INSERT INTO "spree_products" ("available_on", "count_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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.542400' WHERE "spree_products"."id" = 73 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 73], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.543861' WHERE "spree_products"."id" = 73  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 252 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.545511' WHERE "spree_products"."id" = 73  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 73  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:37 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:37 UTC +00:00], ["product_id", nil], ["property_id", 62], ["updated_at", Sun, 30 Sep 2012 13:36:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 73, "updated_at" = '2012-09-30 13:36:37.554414' WHERE "spree_product_properties"."id" = 76 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" != 73) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 90 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" = 73 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (158, 73) 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", Sun, 30 Sep 2012 13:36:37 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:36:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 92 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 92], ["updated_at", Sun, 30 Sep 2012 13:36:37 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (160, 73) 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, 30 Sep 2012 13:36:37 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 93 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 93], ["updated_at", Sun, 30 Sep 2012 13:36:37 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (161, 73) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 73) 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" = 73 AND "spree_option_types"."id" = 42 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" = 73) 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, 30 Sep 2012 13:36:37 UTC +00:00], ["option_type_id", 42], ["position", 1], ["product_id", 73], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 42 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.590383' WHERE "spree_products"."id" = 73 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 73], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.592184' WHERE "spree_products"."id" = 73  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (84, 253) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 42 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.596404' WHERE "spree_products"."id" = 73 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 73], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.598070' WHERE "spree_products"."id" = 73  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (254, 85) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 42 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.602673' WHERE "spree_products"."id" = 73 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 73], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.604332' WHERE "spree_products"."id" = 73  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (255, 86) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 73]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 73) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 253 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 254 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 255 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" != 73) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.620219' WHERE "spree_products"."id" = 73  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 253 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.621434' WHERE "spree_products"."id" = 73 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.623073' WHERE "spree_products"."id" = 73  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 254 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.624511' WHERE "spree_products"."id" = 73 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.625979' WHERE "spree_products"."id" = 73  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 255 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:37.626964' WHERE "spree_products"."id" = 73 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 73) 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" = 252 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 252) 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", Sun, 30 Sep 2012 13:36:37 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 252], ["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" != 73) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.252807', "count_on_hand" = 11 WHERE "spree_products"."id" = 73 Current value 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.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, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:39 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.275851' WHERE "spree_products"."id" = 74 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 74], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.279193' WHERE "spree_products"."id" = 74  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 256 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.284305' WHERE "spree_products"."id" = 74  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 74  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 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", Sun, 30 Sep 2012 13:36:39 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:39 UTC +00:00], ["product_id", nil], ["property_id", 63], ["updated_at", Sun, 30 Sep 2012 13:36:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 74, "updated_at" = '2012-09-30 13:36:39.304223' WHERE "spree_product_properties"."id" = 77 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, 30 Sep 2012 13:36:39 UTC +00:00], ["product_id", nil], ["property_id", 62], ["updated_at", Sun, 30 Sep 2012 13:36:39 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 74, "updated_at" = '2012-09-30 13:36:39.309484' WHERE "spree_product_properties"."id" = 78 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, 30 Sep 2012 13:36:39 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:39 UTC +00:00], ["product_id", nil], ["property_id", 64], ["updated_at", Sun, 30 Sep 2012 13:36:39 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 74, "updated_at" = '2012-09-30 13:36:39.315476' WHERE "spree_product_properties"."id" = 79 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 74) 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", Sun, 30 Sep 2012 13:36:39 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:39 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 94 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 94], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 74 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (162, 74) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 74) 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" = 74 AND "spree_option_types"."id" = 42 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" = 74) ORDER BY position DESC 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, 30 Sep 2012 13:36:39 UTC +00:00], ["option_type_id", 42], ["position", 1], ["product_id", 74], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 42 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.341371' WHERE "spree_products"."id" = 74 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 74], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.347707' WHERE "spree_products"."id" = 74  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (84, 257) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 42 LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.354646' WHERE "spree_products"."id" = 74 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 74], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.356884' WHERE "spree_products"."id" = 74  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (258, 85) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 42 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.361194' WHERE "spree_products"."id" = 74 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 74], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.362605' WHERE "spree_products"."id" = 74  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (259, 86) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 74]] 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, 30 Sep 2012 13:36:39 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:39 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" = 74 AND "spree_option_types"."id" = 43 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" = 74) ORDER BY position DESC 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, 30 Sep 2012 13:36:39 UTC +00:00], ["option_type_id", 43], ["position", 2], ["product_id", 74], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 43 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 43) ORDER BY position 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, 30 Sep 2012 13:36:39 UTC +00:00], ["name", "black_white"], ["option_type_id", 43], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.378221' WHERE "spree_products"."id" = 74 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 74], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.379687' WHERE "spree_products"."id" = 74  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (87, 260) 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" = 43 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 43) ORDER BY position 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, 30 Sep 2012 13:36:39 UTC +00:00], ["name", "colour"], ["option_type_id", 43], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:39 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.386051' WHERE "spree_products"."id" = 74 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 74], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.387430' WHERE "spree_products"."id" = 74  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (261, 88) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 74]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 74) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 258 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 259 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 260 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" = 261 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" != 74) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.412963' WHERE "spree_products"."id" = 74  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 257 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.414518' WHERE "spree_products"."id" = 74 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.416409' WHERE "spree_products"."id" = 74  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 258 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.417727' WHERE "spree_products"."id" = 74 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.419484' WHERE "spree_products"."id" = 74  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 259 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.420669' WHERE "spree_products"."id" = 74 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.422187' WHERE "spree_products"."id" = 74  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 260 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.423249' WHERE "spree_products"."id" = 74 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.424783' WHERE "spree_products"."id" = 74  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 261 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:39.614711' WHERE "spree_products"."id" = 74 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 74) 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" = 256 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" = 256) 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", Sun, 30 Sep 2012 13:36:39 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 256], ["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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 74) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.052325', "count_on_hand" = 53 WHERE "spree_products"."id" = 74  (5.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 Product for AR Loader' LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 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 = 248) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 72)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 248 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" = 72 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 = 248) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 72)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 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 = 252) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 73)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 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 = 256) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 74))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_products" SQL (3.5ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (3.6ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (4.1ms) 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 : DEMO_001 Current value to assign : Demo Product for AR Loader Current 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.181737' WHERE "spree_products"."id" = 75 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 75], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.183516' WHERE "spree_products"."id" = 75  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 262 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.185301' WHERE "spree_products"."id" = 75  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 75  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:40 UTC +00:00], ["product_id", nil], ["property_id", 65], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 75, "updated_at" = '2012-09-30 13:36:40.194259' WHERE "spree_product_properties"."id" = 80 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" != 75) 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 95 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, 30 Sep 2012 13:36: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", 95], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 75 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (163, 75) 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 96 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 96], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (164, 75) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 75) 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 75 AND "spree_option_types"."id" = 44 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" = 75) ORDER BY position DESC 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, 30 Sep 2012 13:36:40 UTC +00:00], ["option_type_id", 44], ["position", 1], ["product_id", 75], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 44 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 44) ORDER BY position 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 44], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.233189' WHERE "spree_products"."id" = 75 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 75], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.234652' WHERE "spree_products"."id" = 75  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (89, 263) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 44) ORDER BY position 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 44], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.240306' WHERE "spree_products"."id" = 75 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 75], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.242173' WHERE "spree_products"."id" = 75  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (90, 264) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 44) ORDER BY position 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 44], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.248576' WHERE "spree_products"."id" = 75 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 75], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.250711' WHERE "spree_products"."id" = 75  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (265, 91) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 75]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 75) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 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" = 75 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 263 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 264 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 265 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" != 75) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.271702' WHERE "spree_products"."id" = 75  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 263 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.273166' WHERE "spree_products"."id" = 75 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.274927' WHERE "spree_products"."id" = 75  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 264 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.276033' WHERE "spree_products"."id" = 75 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.277588' WHERE "spree_products"."id" = 75  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 265 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.278788' WHERE "spree_products"."id" = 75 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 75) 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" = 262 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 262) 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", Sun, 30 Sep 2012 13:36:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 262], ["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" != 75) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.625430', "count_on_hand" = 25 WHERE "spree_products"."id" = 75 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 75 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.638539' WHERE "spree_products"."id" = 76 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 76], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.640242' WHERE "spree_products"."id" = 76  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 266 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.642151' WHERE "spree_products"."id" = 76  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 76  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:40 UTC +00:00], ["product_id", nil], ["property_id", 66], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 76, "updated_at" = '2012-09-30 13:36:40.651342' WHERE "spree_product_properties"."id" = 81 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" != 76) 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" = 95 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" = 76 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (163, 76) 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, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 97 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, 30 Sep 2012 13:36: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", 97], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (165, 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", Sun, 30 Sep 2012 13:36:40 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 98 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 98], ["updated_at", Sun, 30 Sep 2012 13:36:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (166, 76) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 76) 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" = 76 AND "spree_option_types"."id" = 44 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" = 76) ORDER BY position DESC 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, 30 Sep 2012 13:36:40 UTC +00:00], ["option_type_id", 44], ["position", 1], ["product_id", 76], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 44 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.685183' WHERE "spree_products"."id" = 76 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 76], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.686722' WHERE "spree_products"."id" = 76  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (267, 89) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.690158' WHERE "spree_products"."id" = 76 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 76], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.691471' WHERE "spree_products"."id" = 76  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (90, 268) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.694773' WHERE "spree_products"."id" = 76 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 76], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.696071' WHERE "spree_products"."id" = 76  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (91, 269) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 76]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 76) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 269 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" != 76) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.711083' WHERE "spree_products"."id" = 76  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 267 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.712300' WHERE "spree_products"."id" = 76 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.713800' WHERE "spree_products"."id" = 76  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 268 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.714880' WHERE "spree_products"."id" = 76 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.716348' WHERE "spree_products"."id" = 76  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 269 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:40.717413' WHERE "spree_products"."id" = 76 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 76) 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" = 266 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 266) 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", Sun, 30 Sep 2012 13:36:40 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 266], ["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" != 76) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.614957', "count_on_hand" = 11 WHERE "spree_products"."id" = 76 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 76 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.632497' WHERE "spree_products"."id" = 77 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 77], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.634576' WHERE "spree_products"."id" = 77  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 270 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.636970' WHERE "spree_products"."id" = 77  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 77  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:42 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:42 UTC +00:00], ["product_id", nil], ["property_id", 67], ["updated_at", Sun, 30 Sep 2012 13:36:42 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 77, "updated_at" = '2012-09-30 13:36:42.649771' WHERE "spree_product_properties"."id" = 82 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, 30 Sep 2012 13:36:42 UTC +00:00], ["product_id", nil], ["property_id", 66], ["updated_at", Sun, 30 Sep 2012 13:36:42 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 77, "updated_at" = '2012-09-30 13:36:42.654604' WHERE "spree_product_properties"."id" = 83 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, 30 Sep 2012 13:36:42 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:42 UTC +00:00], ["product_id", nil], ["property_id", 68], ["updated_at", Sun, 30 Sep 2012 13:36:42 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 77, "updated_at" = '2012-09-30 13:36:42.660113' WHERE "spree_product_properties"."id" = 84 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 77) 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, 30 Sep 2012 13:36:42 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 99 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 99], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 77 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (167, 77) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 77) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 77 AND "spree_option_types"."id" = 44 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" = 77) ORDER BY position DESC 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, 30 Sep 2012 13:36:42 UTC +00:00], ["option_type_id", 44], ["position", 1], ["product_id", 77], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 44 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.684565' WHERE "spree_products"."id" = 77 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 77], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.686282' WHERE "spree_products"."id" = 77  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (271, 89) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.690612' WHERE "spree_products"."id" = 77 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 77], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.692173' WHERE "spree_products"."id" = 77  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (272, 90) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.696443' WHERE "spree_products"."id" = 77 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 77], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.698046' WHERE "spree_products"."id" = 77  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (273, 91) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 77]] 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, 30 Sep 2012 13:36:42 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:42 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" = 77 AND "spree_option_types"."id" = 45 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" = 77) ORDER BY position DESC 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, 30 Sep 2012 13:36:42 UTC +00:00], ["option_type_id", 45], ["position", 2], ["product_id", 77], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 45 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 45) ORDER BY position 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, 30 Sep 2012 13:36:42 UTC +00:00], ["name", "black_white"], ["option_type_id", 45], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.715378' WHERE "spree_products"."id" = 77 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 77], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.716880' WHERE "spree_products"."id" = 77  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (92, 274) 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" = 45 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 45) ORDER BY position 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, 30 Sep 2012 13:36:42 UTC +00:00], ["name", "colour"], ["option_type_id", 45], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:42 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.723019' WHERE "spree_products"."id" = 77 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 77], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.724468' WHERE "spree_products"."id" = 77  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (275, 93) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 77]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 77) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 273 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 275 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" != 77) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.748422' WHERE "spree_products"."id" = 77  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 271 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.749885' WHERE "spree_products"."id" = 77 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.751549' WHERE "spree_products"."id" = 77  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 272 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.752696' WHERE "spree_products"."id" = 77 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.754452' WHERE "spree_products"."id" = 77  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 273 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.755787' WHERE "spree_products"."id" = 77 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.759048' WHERE "spree_products"."id" = 77  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 274 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.760980' WHERE "spree_products"."id" = 77 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.763399' WHERE "spree_products"."id" = 77  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 275 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:42.764768' WHERE "spree_products"."id" = 77 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 77) 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" = 270 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 270) 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", Sun, 30 Sep 2012 13:36:42 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 270], ["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-third-row-in-future' AND "spree_products"."id" != 77) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.103435', "count_on_hand" = 53 WHERE "spree_products"."id" = 77 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 77 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::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" = 75 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 = 262) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 75)) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 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 = 262) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 75)) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 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 = 266) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 76)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 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 = 270) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 77))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (3.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: #  (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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.234784' WHERE "spree_products"."id" = 78 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 78], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.236619' WHERE "spree_products"."id" = 78  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 276 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.238430' WHERE "spree_products"."id" = 78  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 78  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["product_id", nil], ["property_id", 69], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 78, "updated_at" = '2012-09-30 13:36:43.248970' WHERE "spree_product_properties"."id" = 85 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" != 78) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 100 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, 30 Sep 2012 13:36: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", 100], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 78 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (168, 78) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 101 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 101], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (169, 78) 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" != 78) 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", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:43 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" = 78 AND "spree_option_types"."id" = 46 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" = 78) ORDER BY position DESC 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, 30 Sep 2012 13:36:43 UTC +00:00], ["option_type_id", 46], ["position", 1], ["product_id", 78], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 46 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 46) ORDER BY position 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "jpeg"], ["option_type_id", 46], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.501435' WHERE "spree_products"."id" = 78 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 78], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.503143' WHERE "spree_products"."id" = 78  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (277, 94) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 46 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 46) ORDER BY position 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "PDF"], ["option_type_id", 46], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.509774' WHERE "spree_products"."id" = 78 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 78], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.511333' WHERE "spree_products"."id" = 78  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (95, 278) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 46 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 46) ORDER BY position 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "PNG"], ["option_type_id", 46], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.517920' WHERE "spree_products"."id" = 78 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 78], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.519592' WHERE "spree_products"."id" = 78  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (279, 96) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 78]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 78) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 277 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 278 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 279 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" != 78) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.543188' WHERE "spree_products"."id" = 78  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 277 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.545420' WHERE "spree_products"."id" = 78 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.548559' WHERE "spree_products"."id" = 78  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 278 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.550113' WHERE "spree_products"."id" = 78 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.552112' WHERE "spree_products"."id" = 78  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 279 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.553844' WHERE "spree_products"."id" = 78 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 78) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.559105', "count_on_hand" = 25 WHERE "spree_products"."id" = 78 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 78 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.570551' WHERE "spree_products"."id" = 79 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 79], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.572300' WHERE "spree_products"."id" = 79  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 280 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.574545' WHERE "spree_products"."id" = 79  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 79  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["product_id", nil], ["property_id", 70], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 79, "updated_at" = '2012-09-30 13:36:43.584261' WHERE "spree_product_properties"."id" = 86 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" != 79) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 100 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" = 79 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (79, 168) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 102 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 102], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (79, 170) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 100 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" = 100 AND "spree_taxons"."parent_id" = 168 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", 168]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 168], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36: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", 168]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 171]] 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 = 171 THEN 168 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 168]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 171]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 100 AND "spree_taxons"."parent_id" = 171 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", 171]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 171], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36: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", 171]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 172]] 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 = 172 THEN 171 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 171]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 172]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (79, 171)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (79, 172) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 79) 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" = 79 AND "spree_option_types"."id" = 46 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" = 79) ORDER BY position DESC 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, 30 Sep 2012 13:36:43 UTC +00:00], ["option_type_id", 46], ["position", 1], ["product_id", 79], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 46 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.628682' WHERE "spree_products"."id" = 79 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 79], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.630260' WHERE "spree_products"."id" = 79  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (281, 94) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 46 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.634096' WHERE "spree_products"."id" = 79 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 79], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.635781' WHERE "spree_products"."id" = 79  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (95, 282) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 46 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.639546' WHERE "spree_products"."id" = 79 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 79], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.641080' WHERE "spree_products"."id" = 79  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (96, 283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 79]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 79) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 283 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" != 79) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.659921' WHERE "spree_products"."id" = 79  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 281 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.661368' WHERE "spree_products"."id" = 79 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.663285' WHERE "spree_products"."id" = 79  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 282 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.664609' WHERE "spree_products"."id" = 79 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.666506' WHERE "spree_products"."id" = 79  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 283 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.667882' WHERE "spree_products"."id" = 79 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 79) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.672095', "count_on_hand" = 11 WHERE "spree_products"."id" = 79 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 79 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.683364' WHERE "spree_products"."id" = 80 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 80], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.685210' WHERE "spree_products"."id" = 80  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 284 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.687242' WHERE "spree_products"."id" = 80  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 80  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["product_id", nil], ["property_id", 71], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 80, "updated_at" = '2012-09-30 13:36:43.696750' WHERE "spree_product_properties"."id" = 87 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, 30 Sep 2012 13:36:43 UTC +00:00], ["product_id", nil], ["property_id", 70], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 80, "updated_at" = '2012-09-30 13:36:43.700407' WHERE "spree_product_properties"."id" = 88 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["product_id", nil], ["property_id", 72], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 80, "updated_at" = '2012-09-30 13:36:43.705605' WHERE "spree_product_properties"."id" = 89 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 80) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 103 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 103], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 80 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (173, 80) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 100 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" = 100 AND "spree_taxons"."parent_id" = 168 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", 168]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 168], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36: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", 168]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 174]] 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 = 174 THEN 168 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 168]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 174]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (174, 80)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (168, 80) 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" != 80) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 80 AND "spree_option_types"."id" = 46 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" = 80) ORDER BY position DESC 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, 30 Sep 2012 13:36:43 UTC +00:00], ["option_type_id", 46], ["position", 1], ["product_id", 80], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 46 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.743806' WHERE "spree_products"."id" = 80 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 80], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.745393' WHERE "spree_products"."id" = 80  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (285, 94) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 46 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.749265' WHERE "spree_products"."id" = 80 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 80], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.750777' WHERE "spree_products"."id" = 80  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (286, 95) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 46 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.754811' WHERE "spree_products"."id" = 80 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 80], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.756397' WHERE "spree_products"."id" = 80  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (96, 287) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 80]] 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 80 AND "spree_option_types"."id" = 47 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 80) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["option_type_id", 47], ["position", 2], ["product_id", 80], ["updated_at", Sun, 30 Sep 2012 13:36:43 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" = 47 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 47) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "black_white"], ["option_type_id", 47], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.791757' WHERE "spree_products"."id" = 80 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 80], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.795036' WHERE "spree_products"."id" = 80  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (97, 288) 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" = 47 LIMIT 1 Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 47) 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, 30 Sep 2012 13:36:43 UTC +00:00], ["name", "colour"], ["option_type_id", 47], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:43 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 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" = 80 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.811982' WHERE "spree_products"."id" = 80 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 80], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.815290' WHERE "spree_products"."id" = 80  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (98, 289) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 80]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 80) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 286 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 287 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 288 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 289 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" != 80) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.848262' WHERE "spree_products"."id" = 80  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 285 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.849875' WHERE "spree_products"."id" = 80 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.852043' WHERE "spree_products"."id" = 80  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 286 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.854015' WHERE "spree_products"."id" = 80 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.856538' WHERE "spree_products"."id" = 80  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 287 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.858327' WHERE "spree_products"."id" = 80 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.860761' WHERE "spree_products"."id" = 80  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 288 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.862450' WHERE "spree_products"."id" = 80 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.864510' WHERE "spree_products"."id" = 80  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 289 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.866004' WHERE "spree_products"."id" = 80 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 80) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:43.870581', "count_on_hand" = 53 WHERE "spree_products"."id" = 80 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 80 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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.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" = 80 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 = 284) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 80)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 80]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 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 = 284) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 80)) SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) 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.8ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.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 : 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.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, 30 Sep 2012 13:36:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_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, 30 Sep 2012 13:36:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.132018' WHERE "spree_products"."id" = 81 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 81], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.133631' WHERE "spree_products"."id" = 81  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 290 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.135323' WHERE "spree_products"."id" = 81  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 81  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:44 UTC +00:00], ["product_id", nil], ["property_id", 73], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 81, "updated_at" = '2012-09-30 13:36:44.143560' WHERE "spree_product_properties"."id" = 90 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" != 81) 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, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 104 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, 30 Sep 2012 13:36: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", 104], ["updated_at", Sun, 30 Sep 2012 13:36:44 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" = 81 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (175, 81) 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, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 105 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 105], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (176, 81) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 81) 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", Sun, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:44 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" = 81 AND "spree_option_types"."id" = 48 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" = 81) ORDER BY position DESC 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, 30 Sep 2012 13:36:44 UTC +00:00], ["option_type_id", 48], ["position", 1], ["product_id", 81], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 48 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 48) ORDER BY position 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, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "jpeg"], ["option_type_id", 48], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.179053' WHERE "spree_products"."id" = 81 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 81], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.180447' WHERE "spree_products"."id" = 81  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (291, 99) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 48 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 48) ORDER BY position 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, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "PDF"], ["option_type_id", 48], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.185625' WHERE "spree_products"."id" = 81 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 81], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.186919' WHERE "spree_products"."id" = 81  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (100, 292) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 48 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 48) ORDER BY position 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, 30 Sep 2012 13:36:44 UTC +00:00], ["name", "PNG"], ["option_type_id", 48], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.191795' WHERE "spree_products"."id" = 81 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 81], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.193029' WHERE "spree_products"."id" = 81  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (293, 101) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 81]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 81) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 291 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 292 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 293 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" != 81) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.207777' WHERE "spree_products"."id" = 81  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 291 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.209152' WHERE "spree_products"."id" = 81 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.210710' WHERE "spree_products"."id" = 81  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 292 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.211865' WHERE "spree_products"."id" = 81 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.213532' WHERE "spree_products"."id" = 81  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 293 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:44.214763' WHERE "spree_products"."id" = 81 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 81) 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" = 290 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 290) 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", Sun, 30 Sep 2012 13:36:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 290], ["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" != 81) LIMIT 1 Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 290) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 13:36:44 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 290], ["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" != 81) LIMIT 1 Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 290) 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", Sun, 30 Sep 2012 13:36:44 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 290], ["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" != 81) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.319325', "count_on_hand" = 25 WHERE "spree_products"."id" = 81 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 81 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:45 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.332888' WHERE "spree_products"."id" = 82 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 82], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.334481' WHERE "spree_products"."id" = 82  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 294 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.336305' WHERE "spree_products"."id" = 82  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 82  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:45 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:45 UTC +00:00], ["product_id", nil], ["property_id", 74], ["updated_at", Sun, 30 Sep 2012 13:36:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 82, "updated_at" = '2012-09-30 13:36:45.345743' WHERE "spree_product_properties"."id" = 91 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" != 82) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 104 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" = 82 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (82, 175) 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, 30 Sep 2012 13:36:45 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:36:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 106 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 106], ["updated_at", Sun, 30 Sep 2012 13:36:45 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (82, 177) 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, 30 Sep 2012 13:36:45 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 107 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 107], ["updated_at", Sun, 30 Sep 2012 13:36:45 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (82, 178) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 82) 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" = 82 AND "spree_option_types"."id" = 48 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" = 82) ORDER BY position DESC 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, 30 Sep 2012 13:36:45 UTC +00:00], ["option_type_id", 48], ["position", 1], ["product_id", 82], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 48 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.377162' WHERE "spree_products"."id" = 82 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 82], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.378916' WHERE "spree_products"."id" = 82  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (295, 99) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 48 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.382780' WHERE "spree_products"."id" = 82 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 82], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.384137' WHERE "spree_products"."id" = 82  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (100, 296) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 48 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.387589' WHERE "spree_products"."id" = 82 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 82], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.388927' WHERE "spree_products"."id" = 82  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (101, 297) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 82]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 82) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 295 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 296 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 297 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" != 82) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.404475' WHERE "spree_products"."id" = 82  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 295 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.405738' WHERE "spree_products"."id" = 82 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.407295' WHERE "spree_products"."id" = 82  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 296 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.408381' WHERE "spree_products"."id" = 82 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.410195' WHERE "spree_products"."id" = 82  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 297 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:45.411402' WHERE "spree_products"."id" = 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" != 82) 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" = 294 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 294) 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", Sun, 30 Sep 2012 13:36:45 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 294], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 294) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 13:36:47 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 294], ["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" != 82) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:47.863196', "count_on_hand" = 11 WHERE "spree_products"."id" = 82 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 82 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 SQLite3::SQLException: no such column: spree_products.sku: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (7.3ms) DELETE FROM "spree_products" SQL (3.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.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: # SQL (4.4ms) 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.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:47 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 13:36:47 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 ROWRest of World succesfully SAVED : ID 11 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", Sun, 30 Sep 2012 13:36:47 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 13:36:47 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 UKUnited Kingdom 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" = 13 Row EUREurope succesfully SAVED : ID 13 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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 NANorth America succesfully SAVED : ID 14 Current value to assign : Current value to assign :  (3.1ms) commit transaction  (0.1ms) SELECT COUNT(*) 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 (5.3ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.6ms) 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"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" = 16 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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  (4.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (4.9ms) 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 (3.2ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (3.2ms) 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.0ms) commit transaction PRODUCT # MASTER: # 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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.9ms) 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.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  (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.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, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 83 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.257299' WHERE "spree_products"."id" = 83 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", 83], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.442194' WHERE "spree_products"."id" = 83  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 298 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.445224' WHERE "spree_products"."id" = 83  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 83 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 83 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 83  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 83 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" = 298 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" != 83) 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" = 83 AND "spree_option_types"."id" = 49 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" = 83) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 49], ["position", 1], ["product_id", 83], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" != 83) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.466064', "count_on_hand" = 12 WHERE "spree_products"."id" = 83  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 298 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.468054' WHERE "spree_products"."id" = 83 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 83 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 83 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.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", Sun, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 84 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.477212' WHERE "spree_products"."id" = 84 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 84], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.478609' WHERE "spree_products"."id" = 84  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 299 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.480219' WHERE "spree_products"."id" = 84  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 84 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 84 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 84  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 84 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" = 299 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" != 84) 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" = 84 AND "spree_option_types"."id" = 49 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" = 84) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 49], ["position", 1], ["product_id", 84], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" != 84) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.494718', "count_on_hand" = 5 WHERE "spree_products"."id" = 84  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 299 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.497391' WHERE "spree_products"."id" = 84 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 84 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 84 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.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", Fri, 01 Jul 2112 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.507679' WHERE "spree_products"."id" = 85 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 85], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.509120' WHERE "spree_products"."id" = 85  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 300 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.510829' WHERE "spree_products"."id" = 85  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 85  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 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" = 300 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" != 85) 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" = 85 AND "spree_option_types"."id" = 49 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" = 85) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 49], ["position", 1], ["product_id", 85], ["updated_at", Sun, 30 Sep 2012 13:36:48 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" = 85 AND "spree_option_types"."id" = 50 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" = 85) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 50], ["position", 2], ["product_id", 85], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" != 85) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.530654', "count_on_hand" = 23 WHERE "spree_products"."id" = 85  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 300 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.532586' WHERE "spree_products"."id" = 85 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 85 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 85 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (160.7ms) 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-09-30 13:36:48.699875')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 13:36:48.700929')  (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" = 83 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" = 83 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 83 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" = 85 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.2ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.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.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.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.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, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.776696' WHERE "spree_products"."id" = 86 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", 86], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.780528' WHERE "spree_products"."id" = 86  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 301 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.784031' WHERE "spree_products"."id" = 86  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 86  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 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" = 301 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" != 86) 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, 30 Sep 2012 13:36:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 86 AND "spree_option_types"."id" = 51 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" = 86) 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 51], ["position", 1], ["product_id", 86], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" != 86) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.808482', "count_on_hand" = 12 WHERE "spree_products"."id" = 86  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 301 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.810427' WHERE "spree_products"."id" = 86 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 86 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.821194' WHERE "spree_products"."id" = 87 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 87], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.822657' WHERE "spree_products"."id" = 87  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 302 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.824381' WHERE "spree_products"."id" = 87  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 87  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 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" = 302 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" != 87) 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" = 87 AND "spree_option_types"."id" = 51 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" = 87) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 51], ["position", 1], ["product_id", 87], ["updated_at", Sun, 30 Sep 2012 13:36:48 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 87) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.838372', "count_on_hand" = 5 WHERE "spree_products"."id" = 87  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 302 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.842013' WHERE "spree_products"."id" = 87 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 87 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.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", Sun, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.856818' WHERE "spree_products"."id" = 88 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 88], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.858774' WHERE "spree_products"."id" = 88  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 303 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.860598' WHERE "spree_products"."id" = 88  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 88  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 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" = 303 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" != 88) 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" = 88 AND "spree_option_types"."id" = 51 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" = 88) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 51], ["position", 1], ["product_id", 88], ["updated_at", Sun, 30 Sep 2012 13:36:48 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", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" = 88 AND "spree_option_types"."id" = 52 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" = 88) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 52], ["position", 2], ["product_id", 88], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" != 88) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.882761', "count_on_hand" = 23 WHERE "spree_products"."id" = 88  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 303 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.884775' WHERE "spree_products"."id" = 88 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 88  (4.6ms) 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-09-30 13:36:48.892637')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 13:36:48.893415')  (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" = 86 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" = 86 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 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" = 88 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.9ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.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: # 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.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", Sun, 30 Sep 2012 14:36:48 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.968779' WHERE "spree_products"."id" = 89 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 89], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.970339' WHERE "spree_products"."id" = 89  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 304 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.971917' WHERE "spree_products"."id" = 89  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 89  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" = 89 AND "spree_option_types"."id" = 53 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" = 89) ORDER BY position DESC 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, 30 Sep 2012 13:36:48 UTC +00:00], ["option_type_id", 53], ["position", 1], ["product_id", 89], ["updated_at", Sun, 30 Sep 2012 13:36:48 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" != 89) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 89 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.0ms) 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, 30 Sep 2012 14:36:48 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:36:48 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, 30 Sep 2012 13:36:48 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.993909' WHERE "spree_products"."id" = 90 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 90], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:48.997028' WHERE "spree_products"."id" = 90  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 305 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.000188' WHERE "spree_products"."id" = 90  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 90  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 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.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" = 90 AND "spree_option_types"."id" = 53 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" = 90) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 53], ["position", 1], ["product_id", 90], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" != 90) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 90 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", Sun, 30 Sep 2012 14:36:48 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 13:36:49 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, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.021028' WHERE "spree_products"."id" = 91 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 91], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.022463' WHERE "spree_products"."id" = 91  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 306 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.024123' WHERE "spree_products"."id" = 91  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 91  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 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.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" = 91 AND "spree_option_types"."id" = 53 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" = 91) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 53], ["position", 1], ["product_id", 91], ["updated_at", Sun, 30 Sep 2012 13:36:49 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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" = 91 AND "spree_option_types"."id" = 54 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" = 91) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 54], ["position", 2], ["product_id", 91], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" != 91) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 91 Current value to assign : SPEC_ 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::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" = 89 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (4.8ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"meta_keywords"=>"techno dubstep d&b", "cost_price"=>1.0, "available_on"=>"Time.now.to_s(:db)", "meta_description"=>"super duper meta desc."}}} 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.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.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 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, 30 Sep 2012 13:36:49 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, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.295356' WHERE "spree_products"."id" = 92 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 92], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.298613' WHERE "spree_products"."id" = 92  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 307 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.301763' WHERE "spree_products"."id" = 92  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 92  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 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.4ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" = 92 AND "spree_option_types"."id" = 55 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 92) 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 55], ["position", 1], ["product_id", 92], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" != 92) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 92 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.3ms) INSERT INTO "spree_products" ("available_on", "count_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, 30 Sep 2012 13:36:49 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, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.341962' WHERE "spree_products"."id" = 93 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 93], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.344145' WHERE "spree_products"."id" = 93  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 308 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.347056' WHERE "spree_products"."id" = 93  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 93  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 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" = 93 AND "spree_option_types"."id" = 55 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 93) 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 55], ["position", 1], ["product_id", 93], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" != 93) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 93 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.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", Sun, 30 Sep 2012 13:36:49 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, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.384651' WHERE "spree_products"."id" = 94 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 94], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.386576' WHERE "spree_products"."id" = 94  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 309 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.388779' WHERE "spree_products"."id" = 94  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 94  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 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.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" = 94 AND "spree_option_types"."id" = 55 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" = 94) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 55], ["position", 1], ["product_id", 94], ["updated_at", Sun, 30 Sep 2012 13:36:49 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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" = 94 AND "spree_option_types"."id" = 56 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" = 94) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 56], ["position", 2], ["product_id", 94], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" != 94) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 94 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (17.0ms) 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" = 92 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (62.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (7.6ms) DELETE FROM "spree_taxonomies" SQL (46.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_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]]  (4.0ms) 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 (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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.624393' WHERE "spree_products"."id" = 95 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 95], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.626044' WHERE "spree_products"."id" = 95  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 310 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.627694' WHERE "spree_products"."id" = 95  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 95  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["product_id", nil], ["property_id", 75], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 95, "updated_at" = '2012-09-30 13:36:49.635185' WHERE "spree_product_properties"."id" = 92 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" != 95) 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 108 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, 30 Sep 2012 13:36: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", 108], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 95 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (95, 179) 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 109 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 109], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (95, 180) 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" != 95) 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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:49 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" = 95 AND "spree_option_types"."id" = 57 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" = 95) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 57], ["position", 1], ["product_id", 95], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 57 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 57) ORDER BY position 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "jpeg"], ["option_type_id", 57], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.667994' WHERE "spree_products"."id" = 95 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 95], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.669422' WHERE "spree_products"."id" = 95  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (102, 311) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 57 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 57) ORDER BY position 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "PDF"], ["option_type_id", 57], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.675470' WHERE "spree_products"."id" = 95 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 95], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.676793' WHERE "spree_products"."id" = 95  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (103, 312) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 57 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 57) ORDER BY position 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "PNG"], ["option_type_id", 57], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.681546' WHERE "spree_products"."id" = 95 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 95], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.682730' WHERE "spree_products"."id" = 95  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (104, 313) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 95]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 95) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 311 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 312 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 313 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" != 95) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.697830' WHERE "spree_products"."id" = 95  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 311 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.699190' WHERE "spree_products"."id" = 95 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.700856' WHERE "spree_products"."id" = 95  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 312 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.702084' WHERE "spree_products"."id" = 95 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.703807' WHERE "spree_products"."id" = 95  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 313 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.704968' WHERE "spree_products"."id" = 95 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 95) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.708388', "count_on_hand" = 25 WHERE "spree_products"."id" = 95 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 95 Current value to assign : DEMO_002 Current value to 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.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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.716593' WHERE "spree_products"."id" = 96 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 96], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.717912' WHERE "spree_products"."id" = 96  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 314 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.719422' WHERE "spree_products"."id" = 96  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 96  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["product_id", nil], ["property_id", 76], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 96, "updated_at" = '2012-09-30 13:36:49.727423' WHERE "spree_product_properties"."id" = 93 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" != 96) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 108 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" = 96 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (179, 96) 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 110 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 110], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (181, 96) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 108 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" = 108 AND "spree_taxons"."parent_id" = 179 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", 179]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 179], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 108], ["updated_at", Sun, 30 Sep 2012 13:36: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", 179]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 182]] SQL (0.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 = 182 THEN 179 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 179]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 182]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 108 AND "spree_taxons"."parent_id" = 182 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", 182]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 182], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 108], ["updated_at", Sun, 30 Sep 2012 13:36: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", 182]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 183]] 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 = 183 THEN 182 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 182]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 183]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (182, 96)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (183, 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" != 96) 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" = 96 AND "spree_option_types"."id" = 57 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" = 96) ORDER BY position DESC 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, 30 Sep 2012 13:36:49 UTC +00:00], ["option_type_id", 57], ["position", 1], ["product_id", 96], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 57 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.765377' WHERE "spree_products"."id" = 96 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 96], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.767425' WHERE "spree_products"."id" = 96  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (102, 315) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 57 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.772553' WHERE "spree_products"."id" = 96 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 96], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.774255' WHERE "spree_products"."id" = 96  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (316, 103) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 57 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.777758' WHERE "spree_products"."id" = 96 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 96], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.779038' WHERE "spree_products"."id" = 96  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (317, 104) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 96]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 96) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 315 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 316 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 317 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" != 96) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.793700' WHERE "spree_products"."id" = 96  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 315 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.794861' WHERE "spree_products"."id" = 96 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.796252' WHERE "spree_products"."id" = 96  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 316 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.797230' WHERE "spree_products"."id" = 96 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.798815' WHERE "spree_products"."id" = 96  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 317 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.800077' WHERE "spree_products"."id" = 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" != 96) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.803669', "count_on_hand" = 11 WHERE "spree_products"."id" = 96 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 96 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.812607' WHERE "spree_products"."id" = 97 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 97], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.814667' WHERE "spree_products"."id" = 97  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 318 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:49.817117' WHERE "spree_products"."id" = 97  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 97  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["product_id", nil], ["property_id", 77], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 97, "updated_at" = '2012-09-30 13:36:49.825884' WHERE "spree_product_properties"."id" = 94 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, 30 Sep 2012 13:36:49 UTC +00:00], ["product_id", nil], ["property_id", 76], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 97, "updated_at" = '2012-09-30 13:36:49.829007' WHERE "spree_product_properties"."id" = 95 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["product_id", nil], ["property_id", 78], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 97, "updated_at" = '2012-09-30 13:36:49.993487' WHERE "spree_product_properties"."id" = 96 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 97) 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, 30 Sep 2012 13:36:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:49 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 111 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 111], ["updated_at", Sun, 30 Sep 2012 13:36:50 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" = 97 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (97, 184) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 108 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" = 108 AND "spree_taxons"."parent_id" = 179 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", 179]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Landscape"], ["parent_id", 179], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 108], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 179]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 185]] 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 = 185 THEN 179 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 179]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 185]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (97, 185)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (97, 179) 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" != 97) 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" = 97 AND "spree_option_types"."id" = 57 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" = 97) ORDER BY position DESC 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, 30 Sep 2012 13:36:50 UTC +00:00], ["option_type_id", 57], ["position", 1], ["product_id", 97], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 57 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.024900' WHERE "spree_products"."id" = 97 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 97], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.026325' WHERE "spree_products"."id" = 97  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (102, 319) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 57 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.029609' WHERE "spree_products"."id" = 97 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 97], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.030880' WHERE "spree_products"."id" = 97  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (320, 103) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 57 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.034307' WHERE "spree_products"."id" = 97 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 97], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.035610' WHERE "spree_products"."id" = 97  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (104, 321) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 97]] 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:50 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" = 97 AND "spree_option_types"."id" = 58 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" = 97) ORDER BY position DESC 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, 30 Sep 2012 13:36:50 UTC +00:00], ["option_type_id", 58], ["position", 2], ["product_id", 97], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 58 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 58) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "black_white"], ["option_type_id", 58], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.049215' WHERE "spree_products"."id" = 97 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 97], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.050615' WHERE "spree_products"."id" = 97  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (105, 322) 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" = 58 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 58) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "colour"], ["option_type_id", 58], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.056400' WHERE "spree_products"."id" = 97 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 97], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.057705' WHERE "spree_products"."id" = 97  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (323, 106) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 97]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 97) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 319 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 320 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 321 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 323 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" != 97) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.076469' WHERE "spree_products"."id" = 97  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 319 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.077906' WHERE "spree_products"."id" = 97 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.079624' WHERE "spree_products"."id" = 97  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 320 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.080815' WHERE "spree_products"."id" = 97 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.082519' WHERE "spree_products"."id" = 97  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 321 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.083786' WHERE "spree_products"."id" = 97 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.085320' WHERE "spree_products"."id" = 97  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 322 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.086359' WHERE "spree_products"."id" = 97 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.087793' WHERE "spree_products"."id" = 97  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 323 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.088840' WHERE "spree_products"."id" = 97 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 97) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.092806', "count_on_hand" = 53 WHERE "spree_products"."id" = 97 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 97 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (181.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.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" = 95 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" = 97 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" = 97 SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.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.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (3.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.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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.371547' WHERE "spree_products"."id" = 98 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 98], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.373098' WHERE "spree_products"."id" = 98  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 324 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.374690' WHERE "spree_products"."id" = 98  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 98  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["product_id", nil], ["property_id", 79], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 98, "updated_at" = '2012-09-30 13:36:50.381245' WHERE "spree_product_properties"."id" = 97 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" != 98) 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 112 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, 30 Sep 2012 13:36: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", 112], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 98 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (186, 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" != 98) 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 113 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 113], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (187, 98) 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" != 98) 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", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:50 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" = 98 AND "spree_option_types"."id" = 59 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" = 98) ORDER BY position DESC 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, 30 Sep 2012 13:36:50 UTC +00:00], ["option_type_id", 59], ["position", 1], ["product_id", 98], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 59 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 59) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 59], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.419770' WHERE "spree_products"."id" = 98 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 98], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.421185' WHERE "spree_products"."id" = 98  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (325, 107) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 98]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 98) 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" = 98 AND "spree_option_types"."id" = 59 ORDER BY 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" = 59 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 59) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 59], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.431575' WHERE "spree_products"."id" = 98 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 98], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.432861' WHERE "spree_products"."id" = 98  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (108, 326) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 98]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 98) 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" = 98 AND "spree_option_types"."id" = 59 ORDER BY 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" = 59 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 59) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 59], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.442947' WHERE "spree_products"."id" = 98 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 98], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.444207' WHERE "spree_products"."id" = 98  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (327, 109) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 98]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 98) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 325 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 327 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" != 98) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.463381' WHERE "spree_products"."id" = 98  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 325 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.464585' WHERE "spree_products"."id" = 98 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.465967' WHERE "spree_products"."id" = 98  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 326 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.466949' WHERE "spree_products"."id" = 98 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.468284' WHERE "spree_products"."id" = 98  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 327 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.469233' WHERE "spree_products"."id" = 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" != 98) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.472506', "count_on_hand" = 25 WHERE "spree_products"."id" = 98 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 98 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.481307' WHERE "spree_products"."id" = 99 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 99], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.482705' WHERE "spree_products"."id" = 99  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 328 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.484415' WHERE "spree_products"."id" = 99  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 99  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:50 UTC +00:00], ["product_id", nil], ["property_id", 80], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 99, "updated_at" = '2012-09-30 13:36:50.492382' WHERE "spree_product_properties"."id" = 98 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" != 99) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 112 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" = 99 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (186, 99) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 99) 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 114 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 114], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (188, 99) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 99) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 112 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" = 112 AND "spree_taxons"."parent_id" = 186 AND "spree_taxons"."name" = 'Nature' 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", 186]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Nature"], ["parent_id", 186], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 112], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 186]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 189]] SQL (0.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 = 189 THEN 186 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 186]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 189]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 112 AND "spree_taxons"."parent_id" = 189 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", 189]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Seascape"], ["parent_id", 189], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 112], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 189]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 190]] 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 = 190 THEN 189 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 189]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 190]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (189, 99)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (190, 99) 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" != 99) 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" = 99 AND "spree_option_types"."id" = 59 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" = 99) ORDER BY position DESC 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, 30 Sep 2012 13:36:50 UTC +00:00], ["option_type_id", 59], ["position", 1], ["product_id", 99], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 59 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.688090' WHERE "spree_products"."id" = 99 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 99], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.689551' WHERE "spree_products"."id" = 99  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (107, 329) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 99]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 99) 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" = 99 AND "spree_option_types"."id" = 59 ORDER BY 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" = 59 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.699368' WHERE "spree_products"."id" = 99 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 99], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.700820' WHERE "spree_products"."id" = 99  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (330, 108) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 99]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 99) 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" = 99 AND "spree_option_types"."id" = 59 ORDER BY 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" = 59 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.710237' WHERE "spree_products"."id" = 99 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 99], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.711718' WHERE "spree_products"."id" = 99  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (109, 331) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 99]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 99) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 329 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 331 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" != 99) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.728814' WHERE "spree_products"."id" = 99  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 329 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.729998' WHERE "spree_products"."id" = 99 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.731470' WHERE "spree_products"."id" = 99  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 330 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.732483' WHERE "spree_products"."id" = 99 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.733997' WHERE "spree_products"."id" = 99  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 331 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.735030' WHERE "spree_products"."id" = 99 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 99) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.738478', "count_on_hand" = 11 WHERE "spree_products"."id" = 99 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 99 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.747346' WHERE "spree_products"."id" = 100 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 100], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.748686' WHERE "spree_products"."id" = 100  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 332 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.750289' WHERE "spree_products"."id" = 100  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 100  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:50 UTC +00:00], ["product_id", nil], ["property_id", 81], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 100, "updated_at" = '2012-09-30 13:36:50.759013' WHERE "spree_product_properties"."id" = 99 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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, 30 Sep 2012 13:36:50 UTC +00:00], ["product_id", nil], ["property_id", 80], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 100, "updated_at" = '2012-09-30 13:36:50.765125' WHERE "spree_product_properties"."id" = 100 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["product_id", nil], ["property_id", 82], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 100, "updated_at" = '2012-09-30 13:36:50.771198' WHERE "spree_product_properties"."id" = 101 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 115 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 115], ["updated_at", Sun, 30 Sep 2012 13:36:50 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" = 100 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (100, 191) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 112 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" = 112 AND "spree_taxons"."parent_id" = 186 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", 186]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Landscape"], ["parent_id", 186], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 112], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 186]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 192]] 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 = 192 THEN 186 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 186]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 192]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (100, 192)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (100, 186) 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" != 100) 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" = 100 AND "spree_option_types"."id" = 59 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" = 100) ORDER BY position DESC 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, 30 Sep 2012 13:36:50 UTC +00:00], ["option_type_id", 59], ["position", 1], ["product_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 59 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.800974' WHERE "spree_products"."id" = 100 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 100], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.802309' WHERE "spree_products"."id" = 100  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (107, 333) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 100]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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" = 100 AND "spree_option_types"."id" = 59 ORDER BY 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" = 59 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.810947' WHERE "spree_products"."id" = 100 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 100], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.812246' WHERE "spree_products"."id" = 100  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (108, 334) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 100]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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" = 100 AND "spree_option_types"."id" = 59 ORDER BY 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" = 59 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.820569' WHERE "spree_products"."id" = 100 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 100], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.821881' WHERE "spree_products"."id" = 100  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (335, 109) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 100]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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", Sun, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:50 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" = 100 AND "spree_option_types"."id" = 60 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" = 100) ORDER BY position DESC 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, 30 Sep 2012 13:36:50 UTC +00:00], ["option_type_id", 60], ["position", 2], ["product_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 60 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 60) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "black_white"], ["option_type_id", 60], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.835530' WHERE "spree_products"."id" = 100 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 100], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.836806' WHERE "spree_products"."id" = 100  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (336, 110) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 100]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) 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.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" = 100 AND "spree_option_types"."id" = 60 ORDER BY 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" = 60 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 60) ORDER BY position 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, 30 Sep 2012 13:36:50 UTC +00:00], ["name", "colour"], ["option_type_id", 60], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.846892' WHERE "spree_products"."id" = 100 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 100], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.848135' WHERE "spree_products"."id" = 100  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (111, 337) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 100]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 333 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 334 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 335 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 336 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 337 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" != 100) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.865862' WHERE "spree_products"."id" = 100  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 333 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.867252' WHERE "spree_products"."id" = 100 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.868974' WHERE "spree_products"."id" = 100  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 334 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.870220' WHERE "spree_products"."id" = 100 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.871862' WHERE "spree_products"."id" = 100  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 335 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.872959' WHERE "spree_products"."id" = 100 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.874324' WHERE "spree_products"."id" = 100  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 336 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.875294' WHERE "spree_products"."id" = 100 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.876708' WHERE "spree_products"."id" = 100  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 337 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.877881' WHERE "spree_products"."id" = 100 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 100) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:50.881764', "count_on_hand" = 53 WHERE "spree_products"."id" = 100 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 100 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (56.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.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" = 98 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" = 100 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" = 100 SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (5.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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.5ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.4ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (4.3ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones" SQL (5.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 (2.8ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (4.4ms) DELETE FROM "spree_zones" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.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 (2.7ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones" SQL (5.1ms) 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 (2.6ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.8ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (5.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.4ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 116 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, 30 Sep 2012 13:36:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 116], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]]  (3.9ms) 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", Sun, 30 Sep 2012 13:36:51 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", 116], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]]  (5.2ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 13:36:51.702582', "parent_id" = 193 WHERE "spree_taxons"."id" = 194 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 193]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 194]] 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 = 194 THEN 193 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 193]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 194]]  (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" = 193 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.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.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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.741283' WHERE "spree_products"."id" = 101 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 101], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.742932' WHERE "spree_products"."id" = 101  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 338 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.744974' WHERE "spree_products"."id" = 101  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 101  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:51 UTC +00:00], ["product_id", nil], ["property_id", 83], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 101, "updated_at" = '2012-09-30 13:36:51.753107' WHERE "spree_product_properties"."id" = 102 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" != 101) 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" = 116 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" = 101 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (101, 193) 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", Sun, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 117 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", Sun, 30 Sep 2012 13:36: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", 117], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (101, 195) 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" != 101) 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.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:51 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" = 101 AND "spree_option_types"."id" = 61 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 101) 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, 30 Sep 2012 13:36:51 UTC +00:00], ["option_type_id", 61], ["position", 1], ["product_id", 101], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 61 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 61) 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, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "jpeg"], ["option_type_id", 61], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.804855' WHERE "spree_products"."id" = 101 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 101], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.808554' WHERE "spree_products"."id" = 101  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (339, 112) 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" = 61 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 61) 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, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "PDF"], ["option_type_id", 61], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.820655' WHERE "spree_products"."id" = 101 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", 101], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.824102' WHERE "spree_products"."id" = 101  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (113, 340) 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" = 61 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 61) 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, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "PNG"], ["option_type_id", 61], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.849886' WHERE "spree_products"."id" = 101 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 101], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.852872' WHERE "spree_products"."id" = 101  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (114, 341) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 101]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (3.8ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 101) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 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" = 101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 339 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 340 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 341 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" != 101) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.887373' WHERE "spree_products"."id" = 101  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 339 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.889469' WHERE "spree_products"."id" = 101 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.892540' WHERE "spree_products"."id" = 101  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 340 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.894875' WHERE "spree_products"."id" = 101 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.897830' WHERE "spree_products"."id" = 101  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 341 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.900228' WHERE "spree_products"."id" = 101 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 101) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.907941', "count_on_hand" = 25 WHERE "spree_products"."id" = 101 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 101 Current value to assign : DEMO_002 Current value to 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.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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.930911' WHERE "spree_products"."id" = 102 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 102], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.933716' WHERE "spree_products"."id" = 102  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 342 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:51.936891' WHERE "spree_products"."id" = 102  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 102  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 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, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36:51 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, 30 Sep 2012 13:36:51 UTC +00:00], ["product_id", nil], ["property_id", 84], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 102, "updated_at" = '2012-09-30 13:36:51.952856' WHERE "spree_product_properties"."id" = 103 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" != 102) 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" = 116 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" = 102 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (102, 193) 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, 30 Sep 2012 13:36:51 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 118 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, 30 Sep 2012 13:36: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", 118], ["updated_at", Sun, 30 Sep 2012 13:36:51 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (102, 196) 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" = 116 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" = 116 AND "spree_taxons"."parent_id" = 193 AND "spree_taxons"."name" = 'Nature' 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", 193]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 193], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 116], ["updated_at", Sun, 30 Sep 2012 13:36: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", 193]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 197]] 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 = 197 THEN 193 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 193]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 197]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 116 AND "spree_taxons"."parent_id" = 197 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", 197]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 197], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 116], ["updated_at", Sun, 30 Sep 2012 13:36: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", 197]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 198]] 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 = 198 THEN 197 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 197]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 198]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (102, 197)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (102, 198) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 102) 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" = 102 AND "spree_option_types"."id" = 61 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" = 102) 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, 30 Sep 2012 13:36:52 UTC +00:00], ["option_type_id", 61], ["position", 1], ["product_id", 102], ["updated_at", Sun, 30 Sep 2012 13:36:52 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" = 61 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.017841' WHERE "spree_products"."id" = 102 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 102], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.020160' WHERE "spree_products"."id" = 102  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (343, 112) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 61 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.026150' WHERE "spree_products"."id" = 102 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 102], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.028647' WHERE "spree_products"."id" = 102  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (344, 113) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 61 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.034389' WHERE "spree_products"."id" = 102 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 102], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.036187' WHERE "spree_products"."id" = 102  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (345, 114) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 102]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 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" != 102) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 344 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" = 345 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" != 102) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.062045' WHERE "spree_products"."id" = 102  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 343 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.063969' WHERE "spree_products"."id" = 102 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.066769' WHERE "spree_products"."id" = 102  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 344 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.068542' WHERE "spree_products"."id" = 102 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.070653' WHERE "spree_products"."id" = 102  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 345 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.072130' WHERE "spree_products"."id" = 102 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" != 102) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.078507', "count_on_hand" = 11 WHERE "spree_products"."id" = 102 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 102 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.091035' WHERE "spree_products"."id" = 103 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 103], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.092729' WHERE "spree_products"."id" = 103  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 346 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.094413' WHERE "spree_products"."id" = 103  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 103  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 85], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 103, "updated_at" = '2012-09-30 13:36:52.101832' WHERE "spree_product_properties"."id" = 104 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, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 84], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 103, "updated_at" = '2012-09-30 13:36:52.104488' WHERE "spree_product_properties"."id" = 105 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 86], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 103, "updated_at" = '2012-09-30 13:36:52.108143' WHERE "spree_product_properties"."id" = 106 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 103) 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 119 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 119], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 103 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (103, 199) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 116 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" = 116 AND "spree_taxons"."parent_id" = 193 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (103, 194)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (103, 193) 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" != 103) 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" = 103 AND "spree_option_types"."id" = 61 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" = 103) ORDER BY position DESC 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, 30 Sep 2012 13:36:52 UTC +00:00], ["option_type_id", 61], ["position", 1], ["product_id", 103], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 61 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.128296' WHERE "spree_products"."id" = 103 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 103], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.129589' WHERE "spree_products"."id" = 103  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (347, 112) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 61 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.286431' WHERE "spree_products"."id" = 103 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 103], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.287934' WHERE "spree_products"."id" = 103  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (348, 113) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 61 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.292168' WHERE "spree_products"."id" = 103 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 103], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.293790' WHERE "spree_products"."id" = 103  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (114, 349) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 103]] 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:52 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" = 103 AND "spree_option_types"."id" = 62 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" = 103) ORDER BY position DESC 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, 30 Sep 2012 13:36:52 UTC +00:00], ["option_type_id", 62], ["position", 2], ["product_id", 103], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 62 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 62) ORDER BY position 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "black_white"], ["option_type_id", 62], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.308842' WHERE "spree_products"."id" = 103 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 103], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.310261' WHERE "spree_products"."id" = 103  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (350, 115) 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" = 62 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 62) ORDER BY position 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "colour"], ["option_type_id", 62], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.316189' WHERE "spree_products"."id" = 103 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 103], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.317518' WHERE "spree_products"."id" = 103  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (351, 116) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 103]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 103) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 347 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 348 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 350 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 351 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" != 103) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.336800' WHERE "spree_products"."id" = 103  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 347 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.338215' WHERE "spree_products"."id" = 103 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.339953' WHERE "spree_products"."id" = 103  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 348 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.341193' WHERE "spree_products"."id" = 103 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.342847' WHERE "spree_products"."id" = 103  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 349 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.343913' WHERE "spree_products"."id" = 103 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.345433' WHERE "spree_products"."id" = 103  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 350 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.346470' WHERE "spree_products"."id" = 103 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.347936' WHERE "spree_products"."id" = 103  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 351 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.348969' WHERE "spree_products"."id" = 103 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 103) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.352646', "count_on_hand" = 53 WHERE "spree_products"."id" = 103 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 103 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (57.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.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 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" = 101 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" = 102 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" = 102 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" = 116 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" = 193 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 116 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 197 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 197 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 198 ORDER BY "lft" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (4.8ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.8ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 120], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:36: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", 120], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]]  (5.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 13:36:52.502826', "parent_id" = 200 WHERE "spree_taxons"."id" = 201 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 200]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 201]] 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 = 201 THEN 200 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 200]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 201]]  (3.2ms) 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" = 200 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.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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.541224' WHERE "spree_products"."id" = 104 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 104], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.542783' WHERE "spree_products"."id" = 104  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 352 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.544341' WHERE "spree_products"."id" = 104  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 104  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 87], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 104, "updated_at" = '2012-09-30 13:36:52.552677' WHERE "spree_product_properties"."id" = 107 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" != 104) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 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" = 104 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (200, 104) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 104) 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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 121 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 121], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (202, 104) 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" != 104) 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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:52 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" = 104 AND "spree_option_types"."id" = 63 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" = 104) ORDER BY position DESC 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, 30 Sep 2012 13:36:52 UTC +00:00], ["option_type_id", 63], ["position", 1], ["product_id", 104], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 63 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 63) ORDER BY position 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "jpeg"], ["option_type_id", 63], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.586159' WHERE "spree_products"."id" = 104 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 104], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.587508' WHERE "spree_products"."id" = 104  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (117, 353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 104]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 104) 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" = 104 AND "spree_option_types"."id" = 63 ORDER BY 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" = 63 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 63) ORDER BY position 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "PDF"], ["option_type_id", 63], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.597797' WHERE "spree_products"."id" = 104 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 104], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.599037' WHERE "spree_products"."id" = 104  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (354, 118) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 104]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 104) 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" = 104 AND "spree_option_types"."id" = 63 ORDER BY 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" = 63 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 63) ORDER BY position 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "PNG"], ["option_type_id", 63], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.609130' WHERE "spree_products"."id" = 104 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 104], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.610386' WHERE "spree_products"."id" = 104  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (119, 355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 104]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 104) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 353 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 355 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" != 104) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.631433' WHERE "spree_products"."id" = 104  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 353 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.632596' WHERE "spree_products"."id" = 104 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.633961' WHERE "spree_products"."id" = 104  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 354 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.634966' WHERE "spree_products"."id" = 104 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.636322' WHERE "spree_products"."id" = 104  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 355 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.637346' WHERE "spree_products"."id" = 104 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 104) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.640557', "count_on_hand" = 25 WHERE "spree_products"."id" = 104 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 104 Current value to assign : DEMO_002 Current value to 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.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", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.648686' WHERE "spree_products"."id" = 105 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 105], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.649984' WHERE "spree_products"."id" = 105  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 356 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.651532' WHERE "spree_products"."id" = 105  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 105  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 88], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 105, "updated_at" = '2012-09-30 13:36:52.658658' WHERE "spree_product_properties"."id" = 108 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" != 105) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 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" = 105 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (105, 200) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 105) 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 122 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 122], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (105, 203) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 105) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 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" = 120 AND "spree_taxons"."parent_id" = 200 AND "spree_taxons"."name" = 'Nature' 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", 200]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 200], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 120], ["updated_at", Sun, 30 Sep 2012 13:36: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", 200]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 204]] SQL (0.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 = 204 THEN 200 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 200]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 204]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 AND "spree_taxons"."parent_id" = 204 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", 204]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 204], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 120], ["updated_at", Sun, 30 Sep 2012 13:36: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", 204]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 205]] SQL (0.1ms) 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 = 205 THEN 204 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 204]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 205]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (105, 204)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (105, 205) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 105) 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" = 105 AND "spree_option_types"."id" = 63 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" = 105) ORDER BY position DESC 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, 30 Sep 2012 13:36:52 UTC +00:00], ["option_type_id", 63], ["position", 1], ["product_id", 105], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 63 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.697268' WHERE "spree_products"."id" = 105 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 105], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.698607' WHERE "spree_products"."id" = 105  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (117, 357) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 105]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 105) 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" = 105 AND "spree_option_types"."id" = 63 ORDER BY 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" = 63 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.877807' WHERE "spree_products"."id" = 105 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 105], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.879951' WHERE "spree_products"."id" = 105  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (118, 358) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 105]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 105) 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" = 105 AND "spree_option_types"."id" = 63 ORDER BY 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" = 63 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.893143' WHERE "spree_products"."id" = 105 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 105], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.894745' WHERE "spree_products"."id" = 105  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (119, 359) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 105]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 105) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 357 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 359 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" != 105) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.915071' WHERE "spree_products"."id" = 105  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 357 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.916475' WHERE "spree_products"."id" = 105 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.918309' WHERE "spree_products"."id" = 105  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 358 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.919507' WHERE "spree_products"."id" = 105 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.921168' WHERE "spree_products"."id" = 105  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 359 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.922329' WHERE "spree_products"."id" = 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" != 105) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.926201', "count_on_hand" = 11 WHERE "spree_products"."id" = 105 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 105 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.936406' WHERE "spree_products"."id" = 106 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 106], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.937966' WHERE "spree_products"."id" = 106  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 360 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.939807' WHERE "spree_products"."id" = 106  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 106  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 89], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 106, "updated_at" = '2012-09-30 13:36:52.948634' WHERE "spree_product_properties"."id" = 109 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 88], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 106, "updated_at" = '2012-09-30 13:36:52.953616' WHERE "spree_product_properties"."id" = 110 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["product_id", nil], ["property_id", 90], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 106, "updated_at" = '2012-09-30 13:36:52.959499' WHERE "spree_product_properties"."id" = 111 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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, 30 Sep 2012 13:36:52 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:52 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 123 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 123], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 106 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (106, 206) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 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" = 120 AND "spree_taxons"."parent_id" = 200 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (106, 201)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (106, 200) 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" != 106) 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" = 106 AND "spree_option_types"."id" = 63 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" = 106) ORDER BY position DESC 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, 30 Sep 2012 13:36:52 UTC +00:00], ["option_type_id", 63], ["position", 1], ["product_id", 106], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 63 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.985472' WHERE "spree_products"."id" = 106 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 106], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.987027' WHERE "spree_products"."id" = 106  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (361, 117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 106]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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" = 106 AND "spree_option_types"."id" = 63 ORDER BY 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" = 63 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.996706' WHERE "spree_products"."id" = 106 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 106], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:52.998565' WHERE "spree_products"."id" = 106  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (118, 362) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 106]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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" = 106 AND "spree_option_types"."id" = 63 ORDER BY 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" = 63 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.011852' WHERE "spree_products"."id" = 106 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 106], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.013410' WHERE "spree_products"."id" = 106  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (119, 363) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 106]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:53 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" = 106 AND "spree_option_types"."id" = 64 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" = 106) ORDER BY position DESC 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, 30 Sep 2012 13:36:53 UTC +00:00], ["option_type_id", 64], ["position", 2], ["product_id", 106], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 64 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 64) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 64], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.028442' WHERE "spree_products"."id" = 106 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 106], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.029735' WHERE "spree_products"."id" = 106  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (120, 364) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 106]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) 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.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" = 106 AND "spree_option_types"."id" = 64 ORDER BY 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" = 64 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 64) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "colour"], ["option_type_id", 64], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.040140' WHERE "spree_products"."id" = 106 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 106], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.041387' WHERE "spree_products"."id" = 106  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (365, 121) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 106]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 361 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 362 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 364 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 365 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" != 106) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.061432' WHERE "spree_products"."id" = 106  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 361 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.063267' WHERE "spree_products"."id" = 106 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.065392' WHERE "spree_products"."id" = 106  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 362 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.066555' WHERE "spree_products"."id" = 106 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.068062' WHERE "spree_products"."id" = 106  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 363 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.069057' WHERE "spree_products"."id" = 106 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.070388' WHERE "spree_products"."id" = 106  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 364 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.071406' WHERE "spree_products"."id" = 106 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.072800' WHERE "spree_products"."id" = 106  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 365 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.073786' WHERE "spree_products"."id" = 106 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 106) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.077199', "count_on_hand" = 53 WHERE "spree_products"."id" = 106 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 106 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (62.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" = 104 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" = 104 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" = 105 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" = 105 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 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" = 200 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 204 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 204 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 205 ORDER BY "lft" SQL (4.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (5.5ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 124], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 13:36: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", 124], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (4.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 13:36:53.236826', "parent_id" = 207 WHERE "spree_taxons"."id" = 208 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 207]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 208]] 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 = 208 THEN 207 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 207]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 208]]  (3.7ms) 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" = 207 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.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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.266883' WHERE "spree_products"."id" = 107 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 107], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.269039' WHERE "spree_products"."id" = 107  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 366 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.271058' WHERE "spree_products"."id" = 107  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 107  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:53 UTC +00:00], ["product_id", nil], ["property_id", 91], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 107, "updated_at" = '2012-09-30 13:36:53.281316' WHERE "spree_product_properties"."id" = 112 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" != 107) 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" = 124 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" = 107 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (207, 107) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 107) 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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 125 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, 30 Sep 2012 13:36: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", 125], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (209, 107) 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" != 107) 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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:53 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" = 107 AND "spree_option_types"."id" = 65 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" = 107) ORDER BY position DESC 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, 30 Sep 2012 13:36:53 UTC +00:00], ["option_type_id", 65], ["position", 1], ["product_id", 107], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 65 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 65) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "jpeg"], ["option_type_id", 65], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.320811' WHERE "spree_products"."id" = 107 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 107], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.322144' WHERE "spree_products"."id" = 107  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (367, 122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 107]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 107) 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" = 107 AND "spree_option_types"."id" = 65 ORDER BY 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" = 65 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 65) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "PDF"], ["option_type_id", 65], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.332751' WHERE "spree_products"."id" = 107 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 107], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.334055' WHERE "spree_products"."id" = 107  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (368, 123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 107]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 107) 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" = 107 AND "spree_option_types"."id" = 65 ORDER BY 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" = 65 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 65) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "PNG"], ["option_type_id", 65], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.504822' WHERE "spree_products"."id" = 107 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 107], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.506404' WHERE "spree_products"."id" = 107  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (369, 124) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 107]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 107) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 367 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 369 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" != 107) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.524485' WHERE "spree_products"."id" = 107  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 367 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.525773' WHERE "spree_products"."id" = 107 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.527350' WHERE "spree_products"."id" = 107  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 368 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.528421' WHERE "spree_products"."id" = 107 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.529908' WHERE "spree_products"."id" = 107  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 369 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.530960' WHERE "spree_products"."id" = 107 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" != 107) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.534749', "count_on_hand" = 25 WHERE "spree_products"."id" = 107 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.543461' WHERE "spree_products"."id" = 108 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 108], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.544872' WHERE "spree_products"."id" = 108  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 370 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.546489' WHERE "spree_products"."id" = 108  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 108  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["product_id", nil], ["property_id", 92], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 108, "updated_at" = '2012-09-30 13:36:53.554172' WHERE "spree_product_properties"."id" = 113 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" != 108) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 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" = 108 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (108, 207) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 108) 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 126 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 126], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (108, 210) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 108) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 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" = 124 AND "spree_taxons"."parent_id" = 207 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", 207]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 207], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 124], ["updated_at", Sun, 30 Sep 2012 13:36: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", 207]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 211]] 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 = 211 THEN 207 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 207]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 211]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 AND "spree_taxons"."parent_id" = 211 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", 211]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 211], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 124], ["updated_at", Sun, 30 Sep 2012 13:36: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", 211]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 212]] 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 = 212 THEN 211 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 211]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 212]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (108, 211)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (108, 212) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 108) 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" = 108 AND "spree_option_types"."id" = 65 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" = 108) ORDER BY position DESC 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, 30 Sep 2012 13:36:53 UTC +00:00], ["option_type_id", 65], ["position", 1], ["product_id", 108], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 65 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.604727' WHERE "spree_products"."id" = 108 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 108], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.606069' WHERE "spree_products"."id" = 108  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (371, 122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 108]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 108) 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" = 108 AND "spree_option_types"."id" = 65 ORDER BY 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" = 65 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.614614' WHERE "spree_products"."id" = 108 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 108], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.615933' WHERE "spree_products"."id" = 108  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (123, 372) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 108]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 108) 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" = 108 AND "spree_option_types"."id" = 65 ORDER BY 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" = 65 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.624326' WHERE "spree_products"."id" = 108 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 108], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.625618' WHERE "spree_products"."id" = 108  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (373, 124) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 108]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 108) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 371 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 372 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 373 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" != 108) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.641149' WHERE "spree_products"."id" = 108  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 371 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.642304' WHERE "spree_products"."id" = 108 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.643651' WHERE "spree_products"."id" = 108  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 372 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.644590' WHERE "spree_products"."id" = 108 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.645893' WHERE "spree_products"."id" = 108  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 373 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.646844' WHERE "spree_products"."id" = 108 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" != 108) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.650064', "count_on_hand" = 11 WHERE "spree_products"."id" = 108 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.658040' WHERE "spree_products"."id" = 109 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 109], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.659321' WHERE "spree_products"."id" = 109  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 374 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.660804' WHERE "spree_products"."id" = 109  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 109  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["product_id", nil], ["property_id", 93], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 109, "updated_at" = '2012-09-30 13:36:53.667879' WHERE "spree_product_properties"."id" = 114 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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, 30 Sep 2012 13:36:53 UTC +00:00], ["product_id", nil], ["property_id", 92], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 109, "updated_at" = '2012-09-30 13:36:53.671738' WHERE "spree_product_properties"."id" = 115 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["product_id", nil], ["property_id", 94], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 109, "updated_at" = '2012-09-30 13:36:53.676330' WHERE "spree_product_properties"."id" = 116 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 127 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 127], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 109 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (213, 109) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 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" = 124 AND "spree_taxons"."parent_id" = 207 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (208, 109)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (207, 109) 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" != 109) 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" = 109 AND "spree_option_types"."id" = 65 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" = 109) ORDER BY position DESC 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, 30 Sep 2012 13:36:53 UTC +00:00], ["option_type_id", 65], ["position", 1], ["product_id", 109], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 65 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.697198' WHERE "spree_products"."id" = 109 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 109], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.698481' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (122, 375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 109]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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" = 109 AND "spree_option_types"."id" = 65 ORDER BY 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" = 65 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.706855' WHERE "spree_products"."id" = 109 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 109], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.708162' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (376, 123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 109]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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" = 109 AND "spree_option_types"."id" = 65 ORDER BY 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" = 65 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.716156' WHERE "spree_products"."id" = 109 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 109], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.717475' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (124, 377) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 109]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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", Sun, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:53 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" = 109 AND "spree_option_types"."id" = 66 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" = 109) ORDER BY position DESC 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, 30 Sep 2012 13:36:53 UTC +00:00], ["option_type_id", 66], ["position", 2], ["product_id", 109], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 66 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 66) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "black_white"], ["option_type_id", 66], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.731002' WHERE "spree_products"."id" = 109 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 109], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.732257' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (378, 125) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 109]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) 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.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" = 109 AND "spree_option_types"."id" = 66 ORDER BY 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" = 66 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 66) ORDER BY position 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, 30 Sep 2012 13:36:53 UTC +00:00], ["name", "colour"], ["option_type_id", 66], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:53 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.742261' WHERE "spree_products"."id" = 109 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 109], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.743504' WHERE "spree_products"."id" = 109  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (126, 379) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 109]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 109) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 375 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 378 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 379 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" != 109) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.764233' WHERE "spree_products"."id" = 109  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 375 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.766068' WHERE "spree_products"."id" = 109 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.768148' WHERE "spree_products"."id" = 109  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 376 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.769407' WHERE "spree_products"."id" = 109 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.770911' WHERE "spree_products"."id" = 109  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 377 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.771933' WHERE "spree_products"."id" = 109 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.773340' WHERE "spree_products"."id" = 109  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 378 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.774360' WHERE "spree_products"."id" = 109 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.775769' WHERE "spree_products"."id" = 109  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 379 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.776828' WHERE "spree_products"."id" = 109 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" != 109) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:53.780497', "count_on_hand" = 53 WHERE "spree_products"."id" = 109  (5.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.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" = 107 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" = 107 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" = 108 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" = 108 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" = 124 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" = 207 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 211 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 211 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 212 ORDER BY "lft" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.8ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) 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.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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.058049' WHERE "spree_products"."id" = 110 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 110], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.059770' WHERE "spree_products"."id" = 110  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 380 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.061440' WHERE "spree_products"."id" = 110  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 110  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 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", Sun, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 128], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 AND "spree_taxons"."parent_id" = 214 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", 214]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 214], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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", 214]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 215]] 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 = 215 THEN 214 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 214]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 215]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 110 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 215)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 214) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 110) 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 129 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 129], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 216) 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" != 110) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 380 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" != 110) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.099646', "count_on_hand" = 2 WHERE "spree_products"."id" = 110  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 380 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.101878' WHERE "spree_products"."id" = 110 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 110 Row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320Paintings>LandscapeWaterColour2 succesfully SAVED : ID 110 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.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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.111473' WHERE "spree_products"."id" = 111 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 111], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.112835' WHERE "spree_products"."id" = 111  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 381 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.114403' WHERE "spree_products"."id" = 111  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 111  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 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" = 128 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" = 111 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (214, 111) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 111) 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 130 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 130], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (217, 111) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 111) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 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" = 128 AND "spree_taxons"."parent_id" = 214 AND "spree_taxons"."name" = 'Nature' 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", 214]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 214], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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", 214]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 218]] SQL (0.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 = 218 THEN 214 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 214]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 218]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 AND "spree_taxons"."parent_id" = 218 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", 218]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 218], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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", 218]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 219]] SQL (0.1ms) 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 = 219 THEN 218 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 218]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 219]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (218, 111)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (219, 111) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 111) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 381 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" != 111) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.149232', "count_on_hand" = 5 WHERE "spree_products"."id" = 111  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 381 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.151034' WHERE "spree_products"."id" = 111 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 111 Row test_ct_002Demo Excel Loadless blah2011-05-1410030PaintingsOilsPaintings>Nature>Landscape5 succesfully SAVED : ID 111 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.159386' WHERE "spree_products"."id" = 112 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 112], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.160652' WHERE "spree_products"."id" = 112  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 382 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.162138' WHERE "spree_products"."id" = 112  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 112  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 131 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 131], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 131 AND "spree_taxons"."parent_id" = 220 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", 220]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 220], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 131], ["updated_at", Sun, 30 Sep 2012 13:36: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", 220]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 221]] 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 = 221 THEN 220 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 220]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 221]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 112 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (221, 112)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (220, 112) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 112) 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 132 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 132], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (222, 112) 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" != 112) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 382 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" != 112) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.191601', "count_on_hand" = 7 WHERE "spree_products"."id" = 112  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 382 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.193378' WHERE "spree_products"."id" = 112 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 112 Row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 succesfully SAVED : ID 112 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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.201473' WHERE "spree_products"."id" = 113 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 113], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.202783' WHERE "spree_products"."id" = 113  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.204327' WHERE "spree_products"."id" = 113  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 113  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 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" = 131 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" = 131 AND "spree_taxons"."parent_id" = 220 AND "spree_taxons"."name" = 'Landscape' 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" = 113 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 221)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 220) 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" != 113) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 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" = 128 AND "spree_taxons"."parent_id" = 214 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 AND "spree_taxons"."parent_id" = 218 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", 218]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 218], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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", 218]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 223]] SQL (0.2ms) 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 = 223 THEN 218 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 218]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 223]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 AND "spree_taxons"."parent_id" = 223 AND "spree_taxons"."name" = 'Cliffs' 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", 223]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 223], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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", 223]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 224]] 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 = 224 THEN 223 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 223]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 224]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 218)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 223)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 224)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 214) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 113) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 383 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" != 113) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.234859', "count_on_hand" = 3 WHERE "spree_products"."id" = 113  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 383 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.236682' WHERE "spree_products"."id" = 113 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 113 Row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 succesfully SAVED : ID 113 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.246443' WHERE "spree_products"."id" = 114 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 114], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.247934' WHERE "spree_products"."id" = 114  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.249579' WHERE "spree_products"."id" = 114  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 114  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 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" = 131 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" = 131 AND "spree_taxons"."parent_id" = 220 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 131 AND "spree_taxons"."parent_id" = 221 AND "spree_taxons"."name" = 'Bristol' LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 221]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 221], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 131], ["updated_at", Sun, 30 Sep 2012 13:36: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", 221]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 225]] SQL (0.2ms) 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 = 225 THEN 221 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 221]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 225]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 114 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (221, 114)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (225, 114)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (220, 114) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 114) 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" = 130 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 (217, 114) 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" != 114) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 384 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" != 114) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.273248', "count_on_hand" = 3 WHERE "spree_products"."id" = 114  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 384 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.275076' WHERE "spree_products"."id" = 114 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 114 Row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 succesfully SAVED : ID 114 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (62.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" = 128 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" = 129 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" = 130 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" = 131 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" = 132 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" = 128 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 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" = 214 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 214) 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" = 218 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 218) 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" != 218) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 214 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 218 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"."parent_id" = 223 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" = 224 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" != 223) 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" = 131 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 131 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 221 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 221 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" = 225 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" != 225) 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" = 130 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 130 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" = 217 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" = 132 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 132 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" = 222 ORDER BY "lft" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (3.7ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (4.2ms) 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.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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.448358' WHERE "spree_products"."id" = 115 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 115], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.449932' WHERE "spree_products"."id" = 115  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.451542' WHERE "spree_products"."id" = 115  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 115  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 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", Sun, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 133], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 AND "spree_taxons"."parent_id" = 226 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", 226]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 226], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 133], ["updated_at", Sun, 30 Sep 2012 13:36: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", 226]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 227]] 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 = 227 THEN 226 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 226]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 227]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 115 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (227, 115)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (226, 115) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 115) 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 134 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 134], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (228, 115) 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" != 115) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 385 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" != 115) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.649414', "count_on_hand" = 2 WHERE "spree_products"."id" = 115  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 385 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.651372' WHERE "spree_products"."id" = 115 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 115 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.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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.660346' WHERE "spree_products"."id" = 116 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 116], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.661750' WHERE "spree_products"."id" = 116  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 386 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.663338' WHERE "spree_products"."id" = 116  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 116  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 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" = 133 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" = 116 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (226, 116) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 116) 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 135 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 135], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (229, 116) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 116) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 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" = 133 AND "spree_taxons"."parent_id" = 226 AND "spree_taxons"."name" = 'Nature' 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", 226]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 226], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 133], ["updated_at", Sun, 30 Sep 2012 13:36: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", 226]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 230]] 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 = 230 THEN 226 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 226]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 230]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 AND "spree_taxons"."parent_id" = 230 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", 230]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 230], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 133], ["updated_at", Sun, 30 Sep 2012 13:36: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", 230]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 231]] 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 = 231 THEN 230 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 230]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 231]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (230, 116)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (231, 116) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 116) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 386 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 116) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.701221', "count_on_hand" = 5 WHERE "spree_products"."id" = 116  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 386 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.703064' WHERE "spree_products"."id" = 116 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 116 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.711417' WHERE "spree_products"."id" = 117 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 117], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.712710' WHERE "spree_products"."id" = 117  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 387 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.714207' WHERE "spree_products"."id" = 117  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 117  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 136 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 136], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 136 AND "spree_taxons"."parent_id" = 232 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", 232]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 232], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 136], ["updated_at", Sun, 30 Sep 2012 13:36: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", 232]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 233]] 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 = 233 THEN 232 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 232]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 233]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 117 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (117, 233)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (117, 232) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 117) 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, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 137 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 137], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (117, 234) 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" != 117) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 387 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 117) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.744343', "count_on_hand" = 7 WHERE "spree_products"."id" = 117  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 387 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.746182' WHERE "spree_products"."id" = 117 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 117 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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.754331' WHERE "spree_products"."id" = 118 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 118], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.755649' WHERE "spree_products"."id" = 118  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 388 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.757538' WHERE "spree_products"."id" = 118  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 118  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 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" = 136 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" = 136 AND "spree_taxons"."parent_id" = 232 AND "spree_taxons"."name" = 'Landscape' 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" = 118 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 233)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 232) 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" != 118) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 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" = 133 AND "spree_taxons"."parent_id" = 226 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 AND "spree_taxons"."parent_id" = 230 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", 230]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 230], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 133], ["updated_at", Sun, 30 Sep 2012 13:36: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", 230]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 235]] SQL (0.2ms) 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 = 235 THEN 230 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 230]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 235]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 AND "spree_taxons"."parent_id" = 235 AND "spree_taxons"."name" = 'Cliffs' 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", 235]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 235], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 133], ["updated_at", Sun, 30 Sep 2012 13:36: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", 235]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 236]] 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 = 236 THEN 235 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 235]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 236]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 230)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 235)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 236)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 226) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 118) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 388 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 118) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.790230', "count_on_hand" = 3 WHERE "spree_products"."id" = 118  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 388 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.792126' WHERE "spree_products"."id" = 118 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 118 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.0ms) 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", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.800406' WHERE "spree_products"."id" = 119 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 119], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.801691' WHERE "spree_products"."id" = 119  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 389 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.803167' WHERE "spree_products"."id" = 119  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 119  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 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" = 136 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" = 136 AND "spree_taxons"."parent_id" = 232 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 136 AND "spree_taxons"."parent_id" = 233 AND "spree_taxons"."name" = 'Bristol' 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", 233]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 233], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 136], ["updated_at", Sun, 30 Sep 2012 13:36: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", 233]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 237]] SQL (0.2ms) 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 = 237 THEN 233 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 233]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 237]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 119 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (233, 119)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (237, 119)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (232, 119) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 119) 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" = 135 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 (229, 119) 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" != 119) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 389 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" != 119) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.825888', "count_on_hand" = 3 WHERE "spree_products"."id" = 119  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 389 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:54.827742' WHERE "spree_products"."id" = 119 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 119  (79.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" = 133 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" = 134 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" = 135 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" = 136 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" = 137 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 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" = 226 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 226) 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" = 230 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 230) 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" != 230) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 226 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 230 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"."parent_id" = 235 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" = 236 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" != 235) 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" = 136 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 136 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 233 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 233 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" = 237 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" != 237) 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" = 135 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 135 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" = 229 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" = 137 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 137 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" = 234 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.5ms) DELETE FROM "spree_taxons" SQL (3.6ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:54 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 138], ["updated_at", Sun, 30 Sep 2012 13:36:54 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", Sun, 30 Sep 2012 13:36: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", 138], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]]  (5.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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.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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.041595' WHERE "spree_products"."id" = 120 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 120], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.043257' WHERE "spree_products"."id" = 120  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 390 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.045299' WHERE "spree_products"."id" = 120  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 120  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["product_id", nil], ["property_id", 95], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 120, "updated_at" = '2012-09-30 13:36:55.053428' WHERE "spree_product_properties"."id" = 117 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" != 120) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 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" = 120 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (238, 120) 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 139 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, 30 Sep 2012 13:36: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", 139], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (240, 120) 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" != 120) 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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36:55 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" = 120 AND "spree_option_types"."id" = 67 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" = 120) ORDER BY position DESC 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, 30 Sep 2012 13:36:55 UTC +00:00], ["option_type_id", 67], ["position", 1], ["product_id", 120], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 67 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 67) ORDER BY position 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "jpeg"], ["option_type_id", 67], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.241310' WHERE "spree_products"."id" = 120 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 120], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.243136' WHERE "spree_products"."id" = 120  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (127, 391) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 67 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 67) ORDER BY position 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "PDF"], ["option_type_id", 67], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.250112' WHERE "spree_products"."id" = 120 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 120], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.251579' WHERE "spree_products"."id" = 120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (392, 128) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 67 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 67) ORDER BY position 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "PNG"], ["option_type_id", 67], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.257489' WHERE "spree_products"."id" = 120 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 120], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.259064' WHERE "spree_products"."id" = 120  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (129, 393) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 120]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 120) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 392 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 393 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" != 120) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.287499' WHERE "spree_products"."id" = 120  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 391 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.289452' WHERE "spree_products"."id" = 120 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.291660' WHERE "spree_products"."id" = 120  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 392 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.294215' WHERE "spree_products"."id" = 120 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.297462' WHERE "spree_products"."id" = 120  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 393 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.298757' WHERE "spree_products"."id" = 120 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 120) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.302453', "count_on_hand" = 25 WHERE "spree_products"."id" = 120 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 120 Current value to assign : DEMO_002 Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.311597' WHERE "spree_products"."id" = 121 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 121], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.312971' WHERE "spree_products"."id" = 121  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 394 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.314571' WHERE "spree_products"."id" = 121  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 121  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["product_id", nil], ["property_id", 96], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 121, "updated_at" = '2012-09-30 13:36:55.322280' WHERE "spree_product_properties"."id" = 118 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" != 121) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 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" = 121 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (238, 121) 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 140 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 140], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (241, 121) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 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" = 138 AND "spree_taxons"."parent_id" = 238 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", 238]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 238], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 138], ["updated_at", Sun, 30 Sep 2012 13:36: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", 238]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 242]] SQL (0.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 = 242 THEN 238 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 238]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 242]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 AND "spree_taxons"."parent_id" = 242 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", 242]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Seascape"], ["parent_id", 242], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 138], ["updated_at", Sun, 30 Sep 2012 13:36: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", 242]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 243]] 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 = 243 THEN 242 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 242]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 243]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (242, 121)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (243, 121) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 121) 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" = 121 AND "spree_option_types"."id" = 67 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" = 121) ORDER BY position DESC 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, 30 Sep 2012 13:36:55 UTC +00:00], ["option_type_id", 67], ["position", 1], ["product_id", 121], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 67 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.357766' WHERE "spree_products"."id" = 121 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 121], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.359052' WHERE "spree_products"."id" = 121  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (395, 127) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 67 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.362180' WHERE "spree_products"."id" = 121 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 121], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.363372' WHERE "spree_products"."id" = 121  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (128, 396) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 67 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.366470' WHERE "spree_products"."id" = 121 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 121], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.367682' WHERE "spree_products"."id" = 121  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (397, 129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 121]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 121) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 395 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 396 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 397 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" != 121) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.382123' WHERE "spree_products"."id" = 121  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 395 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.383280' WHERE "spree_products"."id" = 121 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.384669' WHERE "spree_products"."id" = 121  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 396 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.385677' WHERE "spree_products"."id" = 121 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.387040' WHERE "spree_products"."id" = 121  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 397 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.388006' WHERE "spree_products"."id" = 121 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 121) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.391065', "count_on_hand" = 11 WHERE "spree_products"."id" = 121 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 121 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.399021' WHERE "spree_products"."id" = 122 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 122], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.400332' WHERE "spree_products"."id" = 122  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 398 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.401863' WHERE "spree_products"."id" = 122  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 122  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["product_id", nil], ["property_id", 97], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 122, "updated_at" = '2012-09-30 13:36:55.409052' WHERE "spree_product_properties"."id" = 119 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, 30 Sep 2012 13:36:55 UTC +00:00], ["product_id", nil], ["property_id", 96], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 122, "updated_at" = '2012-09-30 13:36:55.411653' WHERE "spree_product_properties"."id" = 120 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["product_id", nil], ["property_id", 98], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 122, "updated_at" = '2012-09-30 13:36:55.415231' WHERE "spree_product_properties"."id" = 121 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 122) 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 141 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 141], ["updated_at", Sun, 30 Sep 2012 13:36:55 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" = 122 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (244, 122) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 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" = 138 AND "spree_taxons"."parent_id" = 238 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", 238]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 238], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 138], ["updated_at", Sun, 30 Sep 2012 13:36: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", 238]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 245]] SQL (0.1ms) 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 = 245 THEN 238 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 238]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 245]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (245, 122)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (238, 122) 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" != 122) 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" = 122 AND "spree_option_types"."id" = 67 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" = 122) ORDER BY position DESC 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, 30 Sep 2012 13:36:55 UTC +00:00], ["option_type_id", 67], ["position", 1], ["product_id", 122], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 67 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.441912' WHERE "spree_products"."id" = 122 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 122], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.443214' WHERE "spree_products"."id" = 122  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (399, 127) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 67 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.446211' WHERE "spree_products"."id" = 122 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 122], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.447430' WHERE "spree_products"."id" = 122  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (128, 400) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 67 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.450400' WHERE "spree_products"."id" = 122 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 122], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.451553' WHERE "spree_products"."id" = 122  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (401, 129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 122]] 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:55 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" = 122 AND "spree_option_types"."id" = 68 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" = 122) ORDER BY position DESC 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, 30 Sep 2012 13:36:55 UTC +00:00], ["option_type_id", 68], ["position", 2], ["product_id", 122], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 68 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 68) ORDER BY position 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "black_white"], ["option_type_id", 68], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.464084' WHERE "spree_products"."id" = 122 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 122], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.465365' WHERE "spree_products"."id" = 122  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (402, 130) 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" = 68 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 68) ORDER BY position 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "colour"], ["option_type_id", 68], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.470579' WHERE "spree_products"."id" = 122 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 122], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.471751' WHERE "spree_products"."id" = 122  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (403, 131) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 122]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 122) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 399 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 400 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 401 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 402 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 403 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" != 122) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.488236' WHERE "spree_products"."id" = 122  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 399 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.489744' WHERE "spree_products"."id" = 122 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.492134' WHERE "spree_products"."id" = 122  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 400 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.493337' WHERE "spree_products"."id" = 122 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.494876' WHERE "spree_products"."id" = 122  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 401 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.496081' WHERE "spree_products"."id" = 122 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.499120' WHERE "spree_products"."id" = 122  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 402 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.501132' WHERE "spree_products"."id" = 122 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.502729' WHERE "spree_products"."id" = 122  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 403 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.503733' WHERE "spree_products"."id" = 122 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 122) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.507510', "count_on_hand" = 53 WHERE "spree_products"."id" = 122 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 122 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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" = 120 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" = 120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 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" = 120 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.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" = 391 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" = 392 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 67 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" = 393 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.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 142], ["updated_at", Sun, 30 Sep 2012 13:36:55 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", Sun, 30 Sep 2012 13:36: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", 142], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.807346' WHERE "spree_products"."id" = 123 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", 123], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.811750' WHERE "spree_products"."id" = 123  (0.3ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 404 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.816604' WHERE "spree_products"."id" = 123  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 123  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36:55 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, 30 Sep 2012 13:36:55 UTC +00:00], ["product_id", nil], ["property_id", 99], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 123, "updated_at" = '2012-09-30 13:36:55.838732' WHERE "spree_product_properties"."id" = 122 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" != 123) 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" = 142 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" = 123 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (246, 123) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 123) LIMIT 1 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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 143 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, 30 Sep 2012 13:36: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", 143], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (248, 123) 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" != 123) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 123 AND "spree_option_types"."id" = 69 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" = 123) ORDER BY position DESC 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, 30 Sep 2012 13:36:55 UTC +00:00], ["option_type_id", 69], ["position", 1], ["product_id", 123], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 69 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 69) ORDER BY position 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "jpeg"], ["option_type_id", 69], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.891938' WHERE "spree_products"."id" = 123 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 123], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.894541' WHERE "spree_products"."id" = 123  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (132, 405) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 123]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 123) 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" = 123 AND "spree_option_types"."id" = 69 ORDER BY 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" = 69 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 69) 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "PDF"], ["option_type_id", 69], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.912496' WHERE "spree_products"."id" = 123 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 123], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.914758' WHERE "spree_products"."id" = 123  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (406, 133) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 123]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 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" != 123) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 123 AND "spree_option_types"."id" = 69 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" = 69 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 69) 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, 30 Sep 2012 13:36:55 UTC +00:00], ["name", "PNG"], ["option_type_id", 69], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:55 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.941338' WHERE "spree_products"."id" = 123 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 123], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.943800' WHERE "spree_products"."id" = 123  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (407, 134) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 123]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 123) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 405 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" = 406 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 407 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" != 123) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.970614' WHERE "spree_products"."id" = 123  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 405 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.972764' WHERE "spree_products"."id" = 123 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.975472' WHERE "spree_products"."id" = 123  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 406 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.977288' WHERE "spree_products"."id" = 123 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.979881' WHERE "spree_products"."id" = 123  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 407 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.981709' WHERE "spree_products"."id" = 123 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 123) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.986077', "count_on_hand" = 25 WHERE "spree_products"."id" = 123 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 123 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 13:36: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", Sun, 30 Sep 2012 13:36:55 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.996280' WHERE "spree_products"."id" = 124 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 124], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.997787' WHERE "spree_products"."id" = 124  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 408 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:55.999529' WHERE "spree_products"."id" = 124  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 124  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 124, "updated_at" = '2012-09-30 13:36:56.010344' WHERE "spree_product_properties"."id" = 123 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" != 124) 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" = 142 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" = 124 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (124, 246) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 124) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 144 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 144], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (124, 249) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 124) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 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" = 142 AND "spree_taxons"."parent_id" = 246 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", 246]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Nature"], ["parent_id", 246], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 142], ["updated_at", Sun, 30 Sep 2012 13:36: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", 246]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 250]] 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 = 250 THEN 246 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 246]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 250]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 AND "spree_taxons"."parent_id" = 250 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", 250]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Seascape"], ["parent_id", 250], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 142], ["updated_at", Sun, 30 Sep 2012 13:36: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", 250]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 251]] 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 = 251 THEN 250 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 250]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 251]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (124, 250)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (124, 251) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 124) 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" = 124 AND "spree_option_types"."id" = 69 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" = 124) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["option_type_id", 69], ["position", 1], ["product_id", 124], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 69 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.062008' WHERE "spree_products"."id" = 124 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 124], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.063551' WHERE "spree_products"."id" = 124  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (409, 132) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 124]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 124) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 124 AND "spree_option_types"."id" = 69 ORDER BY 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" = 69 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.074415' WHERE "spree_products"."id" = 124 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 124], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.075865' WHERE "spree_products"."id" = 124  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (133, 410) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 124]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 124) 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" = 124 AND "spree_option_types"."id" = 69 ORDER BY 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" = 69 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.085967' WHERE "spree_products"."id" = 124 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 124], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.088071' WHERE "spree_products"."id" = 124  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (134, 411) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 124]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 124) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 409 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 410 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 411 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" != 124) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.110134' WHERE "spree_products"."id" = 124  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 409 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.111470' WHERE "spree_products"."id" = 124 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.113118' WHERE "spree_products"."id" = 124  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 410 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.114346' WHERE "spree_products"."id" = 124 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.116105' WHERE "spree_products"."id" = 124  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 411 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.117497' WHERE "spree_products"."id" = 124 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" != 124) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.122977', "count_on_hand" = 11 WHERE "spree_products"."id" = 124 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 124 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.136278' WHERE "spree_products"."id" = 125 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 125], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.137873' WHERE "spree_products"."id" = 125  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 412 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.139521' WHERE "spree_products"."id" = 125  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 125  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 101], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 125, "updated_at" = '2012-09-30 13:36:56.148539' WHERE "spree_product_properties"."id" = 124 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 100], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 125, "updated_at" = '2012-09-30 13:36:56.153154' WHERE "spree_product_properties"."id" = 125 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 102], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 125, "updated_at" = '2012-09-30 13:36:56.158142' WHERE "spree_product_properties"."id" = 126 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 145 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 145], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 125 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (125, 252) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 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" = 142 AND "spree_taxons"."parent_id" = 246 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", 246]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:56 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", 246], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 142], ["updated_at", Sun, 30 Sep 2012 13:36: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", 246]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 253]] 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 = 253 THEN 246 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 246]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 253]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (125, 253)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (125, 246) 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" != 125) 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" = 125 AND "spree_option_types"."id" = 69 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" = 125) ORDER BY position DESC 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, 30 Sep 2012 13:36:56 UTC +00:00], ["option_type_id", 69], ["position", 1], ["product_id", 125], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 69 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.186742' WHERE "spree_products"."id" = 125 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 125], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.188047' WHERE "spree_products"."id" = 125  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (132, 413) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 125]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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" = 125 AND "spree_option_types"."id" = 69 ORDER BY 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" = 69 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.349999' WHERE "spree_products"."id" = 125 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 125], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.351598' WHERE "spree_products"."id" = 125  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (414, 133) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 125]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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" = 125 AND "spree_option_types"."id" = 69 ORDER BY 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" = 69 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.361584' WHERE "spree_products"."id" = 125 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 125], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.363034' WHERE "spree_products"."id" = 125  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (415, 134) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 125]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 125 AND "spree_option_types"."id" = 70 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" = 125) ORDER BY position DESC 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, 30 Sep 2012 13:36:56 UTC +00:00], ["option_type_id", 70], ["position", 2], ["product_id", 125], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 70 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 70) ORDER BY position 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "black_white"], ["option_type_id", 70], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.378234' WHERE "spree_products"."id" = 125 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 125], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.379586' WHERE "spree_products"."id" = 125  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (416, 135) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 125]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) 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.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" = 125 AND "spree_option_types"."id" = 70 ORDER BY 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" = 70 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 70) ORDER BY position 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "colour"], ["option_type_id", 70], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.390674' WHERE "spree_products"."id" = 125 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 125], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.392049' WHERE "spree_products"."id" = 125  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (136, 417) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 125]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 413 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 414 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 415 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 416 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 417 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" != 125) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.416180' WHERE "spree_products"."id" = 125  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 413 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.417511' WHERE "spree_products"."id" = 125 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.419071' WHERE "spree_products"."id" = 125  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 414 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.420111' WHERE "spree_products"."id" = 125 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.421565' WHERE "spree_products"."id" = 125  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 415 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.422575' WHERE "spree_products"."id" = 125 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.423990' WHERE "spree_products"."id" = 125  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 416 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.425001' WHERE "spree_products"."id" = 125 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.426396' WHERE "spree_products"."id" = 125  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 417 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.427401' WHERE "spree_products"."id" = 125 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 125) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.430857', "count_on_hand" = 53 WHERE "spree_products"."id" = 125 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 125 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (53.5ms) 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" = 123 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" = 123 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 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" = 123 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.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" = 405 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" = 406 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 69 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" = 407 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 (2.8ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13: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", 146], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 13: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", 146], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]]  (4.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (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.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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.593761' WHERE "spree_products"."id" = 126 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 126], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.595337' WHERE "spree_products"."id" = 126  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 418 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.596861' WHERE "spree_products"."id" = 126  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 126  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 103], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 126, "updated_at" = '2012-09-30 13:36:56.604402' WHERE "spree_product_properties"."id" = 127 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" != 126) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 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" = 126 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (126, 254) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 126) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 147 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 147], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (126, 256) 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" != 126) 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", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 126 AND "spree_option_types"."id" = 71 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" = 126) ORDER BY position DESC 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, 30 Sep 2012 13:36:56 UTC +00:00], ["option_type_id", 71], ["position", 1], ["product_id", 126], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 71 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 71) ORDER BY position 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "jpeg"], ["option_type_id", 71], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.633395' WHERE "spree_products"."id" = 126 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 126], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.634963' WHERE "spree_products"."id" = 126  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (137, 419) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 126]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 126) 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" = 126 AND "spree_option_types"."id" = 71 ORDER BY 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" = 71 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 71) ORDER BY position 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "PDF"], ["option_type_id", 71], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.646123' WHERE "spree_products"."id" = 126 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 126], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.647385' WHERE "spree_products"."id" = 126  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (420, 138) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 126]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 126) 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" = 126 AND "spree_option_types"."id" = 71 ORDER BY 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" = 71 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 71) ORDER BY position 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "PNG"], ["option_type_id", 71], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.657473' WHERE "spree_products"."id" = 126 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 126], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.658742' WHERE "spree_products"."id" = 126  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (421, 139) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 126]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 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" != 126) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 419 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 420 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 421 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" != 126) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.679776' WHERE "spree_products"."id" = 126  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 419 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.680952' WHERE "spree_products"."id" = 126 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.682321' WHERE "spree_products"."id" = 126  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 420 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.683298' WHERE "spree_products"."id" = 126 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.684804' WHERE "spree_products"."id" = 126  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 421 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.685942' WHERE "spree_products"."id" = 126 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" != 126) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.689866', "count_on_hand" = 25 WHERE "spree_products"."id" = 126 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.698013' WHERE "spree_products"."id" = 127 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 127], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.699287' WHERE "spree_products"."id" = 127  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 422 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.700793' WHERE "spree_products"."id" = 127  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 127  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 104], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 127, "updated_at" = '2012-09-30 13:36:56.708002' WHERE "spree_product_properties"."id" = 128 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" != 127) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 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" = 127 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (127, 254) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 127) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 148 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 148], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (127, 257) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 127) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 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" = 146 AND "spree_taxons"."parent_id" = 254 AND "spree_taxons"."name" = 'Nature' 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", 254]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Nature"], ["parent_id", 254], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 146], ["updated_at", Sun, 30 Sep 2012 13:36: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", 254]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 258]] SQL (0.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 = 258 THEN 254 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 254]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 258]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 AND "spree_taxons"."parent_id" = 258 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", 258]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Seascape"], ["parent_id", 258], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 146], ["updated_at", Sun, 30 Sep 2012 13:36: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", 258]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 259]] 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 = 259 THEN 258 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 258]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 259]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (127, 258)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (127, 259) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 127) 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" = 127 AND "spree_option_types"."id" = 71 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" = 127) ORDER BY position DESC 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, 30 Sep 2012 13:36:56 UTC +00:00], ["option_type_id", 71], ["position", 1], ["product_id", 127], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 71 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.746538' WHERE "spree_products"."id" = 127 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 127], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.747843' WHERE "spree_products"."id" = 127  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (423, 137) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 127]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 127) 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 (9.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" = 127 AND "spree_option_types"."id" = 71 ORDER BY 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" = 71 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.912048' WHERE "spree_products"."id" = 127 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 127], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.913939' WHERE "spree_products"."id" = 127  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (424, 138) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 127]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 127) 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" = 127 AND "spree_option_types"."id" = 71 ORDER BY 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" = 71 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.925071' WHERE "spree_products"."id" = 127 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 127], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.926579' WHERE "spree_products"."id" = 127  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (425, 139) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 127]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 127) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 423 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 424 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 425 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" != 127) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.944283' WHERE "spree_products"."id" = 127  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 423 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.945519' WHERE "spree_products"."id" = 127 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.947029' WHERE "spree_products"."id" = 127  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 424 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.948052' WHERE "spree_products"."id" = 127 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.949489' WHERE "spree_products"."id" = 127  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 425 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.950520' WHERE "spree_products"."id" = 127 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" != 127) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.954222', "count_on_hand" = 11 WHERE "spree_products"."id" = 127 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.963052' WHERE "spree_products"."id" = 128 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 128], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.964456' WHERE "spree_products"."id" = 128  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 426 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:56.966107' WHERE "spree_products"."id" = 128  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 128  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 105], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 128, "updated_at" = '2012-09-30 13:36:56.973924' WHERE "spree_product_properties"."id" = 129 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 104], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 128, "updated_at" = '2012-09-30 13:36:56.978083' WHERE "spree_product_properties"."id" = 130 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:56 UTC +00:00], ["product_id", nil], ["property_id", 106], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 128, "updated_at" = '2012-09-30 13:36:56.983002' WHERE "spree_product_properties"."id" = 131 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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, 30 Sep 2012 13:36:56 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 13:36:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 149 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 149], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 128 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (260, 128) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 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" = 146 AND "spree_taxons"."parent_id" = 254 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", 254]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:56 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", 254], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 146], ["updated_at", Sun, 30 Sep 2012 13:36: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", 254]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 261]] 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 = 261 THEN 254 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 254]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 261]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (261, 128)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (254, 128) 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" != 128) 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" = 128 AND "spree_option_types"."id" = 71 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" = 128) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 71], ["position", 1], ["product_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 71 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.012790' WHERE "spree_products"."id" = 128 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 128], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.014113' WHERE "spree_products"."id" = 128  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (137, 427) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 128]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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" = 128 AND "spree_option_types"."id" = 71 ORDER BY 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" = 71 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.022785' WHERE "spree_products"."id" = 128 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 128], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.024107' WHERE "spree_products"."id" = 128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (428, 138) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 128]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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" = 128 AND "spree_option_types"."id" = 71 ORDER BY 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" = 71 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.032490' WHERE "spree_products"."id" = 128 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 128], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.033875' WHERE "spree_products"."id" = 128  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (139, 429) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 128]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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", Sun, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36:57 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" = 128 AND "spree_option_types"."id" = 72 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" = 128) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 72], ["position", 2], ["product_id", 128], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 72 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 72) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "black_white"], ["option_type_id", 72], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.047613' WHERE "spree_products"."id" = 128 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 128], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.048872' WHERE "spree_products"."id" = 128  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (140, 430) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 128]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) 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.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" = 128 AND "spree_option_types"."id" = 72 ORDER BY 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" = 72 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 72) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "colour"], ["option_type_id", 72], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.059059' WHERE "spree_products"."id" = 128 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 128], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.060311' WHERE "spree_products"."id" = 128  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (431, 141) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 128]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 128) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 427 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 428 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 429 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 430 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 431 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" != 128) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.078591' WHERE "spree_products"."id" = 128  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 427 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.079913' WHERE "spree_products"."id" = 128 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.081547' WHERE "spree_products"."id" = 128  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 428 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.083505' WHERE "spree_products"."id" = 128 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.085157' WHERE "spree_products"."id" = 128  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 429 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.086180' WHERE "spree_products"."id" = 128 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.088251' WHERE "spree_products"."id" = 128  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 430 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.089875' WHERE "spree_products"."id" = 128 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.092227' WHERE "spree_products"."id" = 128  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 431 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.093450' WHERE "spree_products"."id" = 128 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" != 128) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.097096', "count_on_hand" = 53 WHERE "spree_products"."id" = 128  (63.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" = 126 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" = 126 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 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" = 126 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.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" = 419 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" = 420 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 71 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" = 421 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.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 150 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36: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", 150], ["updated_at", Sun, 30 Sep 2012 13:36:57 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.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, 30 Sep 2012 13:36: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 150], ["updated_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00]]  (4.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (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.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, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:57 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.264226' WHERE "spree_products"."id" = 129 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 129], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.267116' WHERE "spree_products"."id" = 129  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 432 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.269690' WHERE "spree_products"."id" = 129  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 129  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 129 AND "spree_option_types"."id" = 73 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" = 129) 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 73], ["position", 1], ["product_id", 129], ["updated_at", Sun, 30 Sep 2012 13:36: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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 129 AND "spree_option_types"."id" = 74 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" = 129) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 74], ["position", 2], ["product_id", 129], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 73 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 73) 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 73], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 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" = 74 LIMIT 1 Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 74) 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "colour"], ["option_type_id", 74], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.311095' WHERE "spree_products"."id" = 129 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 129], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.313588' WHERE "spree_products"."id" = 129  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (142, 433)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (143, 433) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 73 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 73) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 73], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 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" = 74 LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.322519' WHERE "spree_products"."id" = 129 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 129], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.324279' WHERE "spree_products"."id" = 129  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (144, 434)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (143, 434) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 129]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 129) 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" = 129 AND "spree_option_types"."id" = 73 ORDER BY 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" = 73 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 73) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "PNG"], ["option_type_id", 73], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.338998' WHERE "spree_products"."id" = 129 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 129], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.340545' WHERE "spree_products"."id" = 129  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (435, 145) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 129]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 129) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 433 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 434 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 435 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" != 129) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.354118' WHERE "spree_products"."id" = 129  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 433 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.355300' WHERE "spree_products"."id" = 129 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.356850' WHERE "spree_products"."id" = 129  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 434 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.357946' WHERE "spree_products"."id" = 129 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.359612' WHERE "spree_products"."id" = 129  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 435 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.360780' WHERE "spree_products"."id" = 129 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" != 129) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.364393', "count_on_hand" = 25 WHERE "spree_products"."id" = 129 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.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.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", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:57 UTC +00:00]] Spree::Product Load (155.6ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 130 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.528374' WHERE "spree_products"."id" = 130 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 130], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.530306' WHERE "spree_products"."id" = 130  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 436 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.532230' WHERE "spree_products"."id" = 130  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 130  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 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.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" = 130 AND "spree_option_types"."id" = 73 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" = 130) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 73], ["position", 1], ["product_id", 130], ["updated_at", Sun, 30 Sep 2012 13:36:57 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.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" = 130 AND "spree_option_types"."id" = 74 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" = 130) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 74], ["position", 2], ["product_id", 130], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 74 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 74) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "black_white"], ["option_type_id", 74], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 73 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 130 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.551607' WHERE "spree_products"."id" = 130 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 130], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.553013' WHERE "spree_products"."id" = 130  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (437, 146)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (437, 142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 130]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 130) 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" = 130 AND "spree_option_types"."id" = 73 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.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" = 130 AND "spree_option_types"."id" = 74 ORDER BY 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" = 74 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" = 73 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 130 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.566775' WHERE "spree_products"."id" = 130 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 130], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.568221' WHERE "spree_products"."id" = 130  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (146, 438)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (145, 438) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 130]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 130) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 437 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 438 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" != 130) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 130 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.580784' WHERE "spree_products"."id" = 130  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 437 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.582025' WHERE "spree_products"."id" = 130 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 130 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.583514' WHERE "spree_products"."id" = 130  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 438 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.584561' WHERE "spree_products"."id" = 130 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" != 130) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.588134', "count_on_hand" = 9 WHERE "spree_products"."id" = 130 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.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", Sun, 30 Sep 2012 13:36: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, 30 Sep 2012 13:36:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.596568' WHERE "spree_products"."id" = 131 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 131], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.597928' WHERE "spree_products"."id" = 131  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 439 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.599532' WHERE "spree_products"."id" = 131  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 131  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 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" = 131 AND "spree_option_types"."id" = 73 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" = 131) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 73], ["position", 1], ["product_id", 131], ["updated_at", Sun, 30 Sep 2012 13:36:57 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.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" = 131 AND "spree_option_types"."id" = 74 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 131) ORDER BY position DESC 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 74], ["position", 2], ["product_id", 131], ["updated_at", Sun, 30 Sep 2012 13:36:57 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 131 AND "spree_option_types"."id" = 75 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" = 131) 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, 30 Sep 2012 13:36:57 UTC +00:00], ["option_type_id", 75], ["position", 3], ["product_id", 131], ["updated_at", Sun, 30 Sep 2012 13:36:57 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" = 74 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" = 75 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 75) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "large"], ["option_type_id", 75], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36: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" = 73 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.630940' WHERE "spree_products"."id" = 131 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 131], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.633012' WHERE "spree_products"."id" = 131  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (143, 440)  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (147, 440)  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (142, 440) 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" = 74 LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 74) ORDER BY position 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, 30 Sep 2012 13:36:57 UTC +00:00], ["name", "sepia"], ["option_type_id", 74], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 13:36:57 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" = 75 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" = 73 LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.640295' WHERE "spree_products"."id" = 131 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 131], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.641556' WHERE "spree_products"."id" = 131  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (441, 148)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (441, 147)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (441, 142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 131]] 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" = 131 AND "spree_option_types"."id" = 73 ORDER BY 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" = 73 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.649377' WHERE "spree_products"."id" = 131 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 131], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.650772' WHERE "spree_products"."id" = 131  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (442, 145) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 131]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 131) 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" = 131 AND "spree_option_types"."id" = 73 ORDER BY 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" = 73 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.661684' WHERE "spree_products"."id" = 131 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 131], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.663229' WHERE "spree_products"."id" = 131  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (144, 443) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 131]] 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.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" = 131 AND "spree_option_types"."id" = 74 ORDER BY 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" = 74 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.670986' WHERE "spree_products"."id" = 131 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 131], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 13:36:57.672316' WHERE "spree_products"."id" = 131  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (444, 146) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 131]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 131) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 131) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 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" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (6.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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 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" = 129 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" = 433 Booted Spree using version 1.1.3 SQL (3.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (312.9ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.7ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (9.2ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 151 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, 30 Sep 2012 19:16: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", 151], ["updated_at", Sun, 30 Sep 2012 19:16:44 UTC +00:00]]  (4.9ms) 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", Sun, 30 Sep 2012 19:16:44 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", 151], ["updated_at", Sun, 30 Sep 2012 19:16:44 UTC +00:00]]  (4.5ms) 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", Sun, 30 Sep 2012 19:16:44 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", 151], ["updated_at", Sun, 30 Sep 2012 19:16:44 UTC +00:00]]  (4.5ms) commit transaction Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 152 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, 30 Sep 2012 19:16: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", 152], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:16:45 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", 152], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (4.3ms) 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", Sun, 30 Sep 2012 19:16:45 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", 152], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (5.9ms) commit transaction Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 152 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 152 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 152 LIMIT 1 Booted Spree using version 1.1.3 SQL (3.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.7ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 153 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, 30 Sep 2012 19:16: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", 153], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (3.7ms) 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", Sun, 30 Sep 2012 19:16: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", 153], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 19:16: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", 153], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (5.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 154 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16: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", 154], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (4.2ms) 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", Sun, 30 Sep 2012 19:16: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", 154], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:16: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", 154], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (4.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 155 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16: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", 155], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (3.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", Sun, 30 Sep 2012 19:16: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", 155], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (5.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, 30 Sep 2012 19:16: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", 155], ["updated_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00]]  (5.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.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 (3.8ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (4.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 PRODUCT # MASTER: # SQL (3.1ms) 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 (2.5ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (4.5ms) 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 (2.6ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (5.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: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.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.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo third row in future' LIMIT 1 SQL (2.5ms) 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 (2.6ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.3ms) 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: # Booted Spree using version 1.1.3 SQL (5.3ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (3.0ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (3.9ms) 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 PRODUCT # MASTER: # 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.2ms) 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", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 19 Row ROWRest of World 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 20 Row UKUnited Kingdom 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 21 Row EUREurope 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:45 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 22 Row NANorth America succesfully SAVED : ID 22 Current value to assign : Current value to assign :  (2.8ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.6ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # 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 ROWRest 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.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 23 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.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 24 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", Sun, 30 Sep 2012 19:16:46 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 25 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:16: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" = 26  (3.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (4.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (35.1ms) DELETE FROM "spree_option_types" SQL (14.1ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (6.4ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (6.2ms) DELETE FROM "spree_taxons" SQL (3.5ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (8.6ms) DELETE FROM "spree_option_types" SQL (6.3ms) DELETE FROM "spree_option_values" SQL (5.3ms) DELETE FROM "spree_properties" SQL (7.3ms) DELETE FROM "spree_product_properties" SQL (5.1ms) DELETE FROM "spree_variants" SQL (4.7ms) DELETE FROM "spree_taxons" SQL (4.2ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.5ms) 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 (3.6ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (4.1ms) 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 PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (2.5ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.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: # SQL (3.8ms) 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.5ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.5ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.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: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b", "cost_price"=>1.0}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} SQL (2.8ms) 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 (2.5ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.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.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  SQL (4.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.8ms) DELETE FROM "spree_taxonomies" SQL (5.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.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:16:46 UTC +00:00]]  (4.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.7ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (2.8ms) 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: # SQL (3.0ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (2.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 (4.3ms) 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.4ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (5.5ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (2.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: # SQL (4.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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (4.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: # Booted Spree using version 1.1.3 SQL (5.7ms) 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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.7ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones" SQL (4.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (5.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) 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 (2.8ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_zones" SQL (4.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.1ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.2ms) 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 (3.4ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (4.4ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (4.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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.1ms) commit 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 (3.1ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (5.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (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", Sun, 30 Sep 2012 19:16:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 156 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, 30 Sep 2012 19:16: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", 156], ["updated_at", Sun, 30 Sep 2012 19:16:47 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", Sun, 30 Sep 2012 19:16: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", 156], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (4.1ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 19:16:47.346371', "parent_id" = 279 WHERE "spree_taxons"."id" = 280 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 279]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 280]] 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 = 280 THEN 279 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 279]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 280]]  (4.8ms) 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" = 279 ORDER BY "lft" SQL (3.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 (4.0ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 19:16:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 157 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, 30 Sep 2012 19:16: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", 157], ["updated_at", Sun, 30 Sep 2012 19:16:47 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 (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, 30 Sep 2012 19:16: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", 157], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (4.2ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 19:16:47.444655', "parent_id" = 281 WHERE "spree_taxons"."id" = 282 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 281]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 282]] 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 = 282 THEN 281 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 281]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 282]]  (4.0ms) 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" = 281 ORDER BY "lft" SQL (4.7ms) 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 (2.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.3ms) SELECT COUNT(*) FROM "spree_taxons"   (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", Sun, 30 Sep 2012 19:16:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 158 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, 30 Sep 2012 19:16: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", 158], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (3.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", Sun, 30 Sep 2012 19:16: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", 158], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 19:16:47.547858', "parent_id" = 283 WHERE "spree_taxons"."id" = 284 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 283]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 284]] 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 = 284 THEN 283 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 283]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 284]]  (3.7ms) 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" = 283 ORDER BY "lft" SQL (3.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 (3.0ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) 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  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  SQL (3.1ms) 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 (2.6ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (4.3ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (5.1ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (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 (2.5ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 159 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, 30 Sep 2012 19:16: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", 159], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:16: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", 159], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (4.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (3.9ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 160 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16: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", 160], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (3.8ms) 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", Sun, 30 Sep 2012 19:16: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", 160], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (4.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  SQL (3.5ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 161 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, 30 Sep 2012 19:16: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", 161], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:16: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", 161], ["updated_at", Sun, 30 Sep 2012 19:16:47 UTC +00:00]]  (3.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.9ms) 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.8ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) SELECT COUNT(*) FROM "spree_variants"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:16:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 162 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:16: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", 162], ["updated_at", Sun, 30 Sep 2012 19:16:48 UTC +00:00]]  (3.6ms) 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", Sun, 30 Sep 2012 19:16: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", 162], ["updated_at", Sun, 30 Sep 2012 19:16:48 UTC +00:00]]  (4.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (3.1ms) 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 (2.5ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (3.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: # 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.2ms) 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 (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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" = 27 Row ROWRest of World succesfully SAVED : ID 27 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", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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 UKUnited Kingdom 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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" = 29 Row EUREurope succesfully SAVED : ID 29 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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" = 30 Row NANorth America succesfully SAVED : ID 30 Current value to assign : Current value to assign :  (4.4ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.9ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (3.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 (4.2ms) DELETE FROM "spree_zones"  (0.1ms) 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.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", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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 EUREurope 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", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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 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", Sun, 30 Sep 2012 19:19:11 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:19:11 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  (3.2ms) commit transaction  (0.2ms) SELECT COUNT(*) 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 (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.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 (2.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.4ms) 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 (4.3ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.7ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (2.5ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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: # SQL (3.7ms) 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 (3.1ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (4.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.0ms) commit transaction PRODUCT # MASTER: # SQL (2.9ms) 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 (5.3ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (5.1ms) DELETE FROM "spree_taxonomies" SQL (4.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: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"meta_keywords"=>"techno dubstep d&b", "meta_description"=>"super duper meta desc.", "available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} SQL (2.8ms) 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 (2.5ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.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: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:19:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:19:12 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  SQL (2.8ms) 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 (2.6ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (6.3ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.1ms) 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", Sun, 30 Sep 2012 19:19:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:19:12 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_properties"  SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (4.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 (3.2ms) 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 (2.9ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) 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.8ms) DELETE FROM "spree_properties" SQL (6.3ms) DELETE FROM "spree_product_properties" SQL (6.8ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (4.2ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.7ms) DELETE FROM "spree_products" SQL (0.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.7ms) DELETE FROM "spree_taxons" SQL (2.4ms) DELETE FROM "spree_taxonomies" SQL (3.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: # Booted Spree using version 1.1.3 SQL (50.1ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (2.5ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (3.8ms) DELETE FROM "spree_taxonomies" SQL (2.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.0ms) commit transaction PRODUCT # MASTER: # SQL (2.9ms) 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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" = 35 Row ROWRest of World 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", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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 UKUnited Kingdom 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.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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 EUREurope 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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 NANorth America succesfully SAVED : ID 38 Current value to assign : Current value to assign :  (3.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.8ms) 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 (3.9ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (3.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"  (0.1ms) 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.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", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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" = 39 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.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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 EUREurope 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", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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 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", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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" = 42  (2.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones"  SQL (4.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (16.1ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (4.2ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (4.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 (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (3.3ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (3.1ms) 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.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.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.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", Mon, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:24 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 132 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:24.790593' WHERE "spree_products"."id" = 132 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 132], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:24.793066' WHERE "spree_products"."id" = 132  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 445 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:24.797128' WHERE "spree_products"."id" = 132  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 132 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 132 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 132  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 132 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" = 445 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" != 132) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:23:24 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:24 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" = 132 AND "spree_option_types"."id" = 76 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" = 132) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 76], ["position", 1], ["product_id", 132], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 132) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.023578', "count_on_hand" = 12 WHERE "spree_products"."id" = 132  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 445 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.027432' WHERE "spree_products"."id" = 132 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 132 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 132 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.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", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.042592' WHERE "spree_products"."id" = 133 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 133], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.045378' WHERE "spree_products"."id" = 133  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.048568' WHERE "spree_products"."id" = 133  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 133  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 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" = 446 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" != 133) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 133 AND "spree_option_types"."id" = 76 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" = 133) ORDER BY position DESC 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 76], ["position", 1], ["product_id", 133], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 133) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.071348', "count_on_hand" = 5 WHERE "spree_products"."id" = 133  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 446 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.074776' WHERE "spree_products"."id" = 133 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 133 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 133 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", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.084868' WHERE "spree_products"."id" = 134 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 134], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.086360' WHERE "spree_products"."id" = 134  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 447 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.088608' WHERE "spree_products"."id" = 134  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 134  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 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" = 447 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" != 134) 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" = 134 AND "spree_option_types"."id" = 76 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" = 134) ORDER BY position DESC 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 76], ["position", 1], ["product_id", 134], ["updated_at", Sun, 30 Sep 2012 19:23:25 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", Sun, 30 Sep 2012 19:23:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" = 134 AND "spree_option_types"."id" = 77 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 134) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 77], ["position", 2], ["product_id", 134], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 134) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.116011', "count_on_hand" = 23 WHERE "spree_products"."id" = 134  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 447 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.119415' WHERE "spree_products"."id" = 134 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 134 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 134 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (99.5ms) 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-09-30 19:23:25.225951')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 19:23:25.226691')  (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" = 132 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" = 132 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 132 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" = 134 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.2ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.8ms) 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 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.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.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, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.303983' WHERE "spree_products"."id" = 135 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 135], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.305669' WHERE "spree_products"."id" = 135  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 448 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.307279' WHERE "spree_products"."id" = 135  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 135  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 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" = 448 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" != 135) 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", Sun, 30 Sep 2012 19:23:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" = 135 AND "spree_option_types"."id" = 78 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" = 135) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 78], ["position", 1], ["product_id", 135], ["updated_at", Sun, 30 Sep 2012 19:23:25 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.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 135) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.328310', "count_on_hand" = 12 WHERE "spree_products"."id" = 135  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 448 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.332008' WHERE "spree_products"."id" = 135 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 135 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.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, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.346433' WHERE "spree_products"."id" = 136 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 136], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.348678' WHERE "spree_products"."id" = 136  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.350363' WHERE "spree_products"."id" = 136  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 136  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 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" = 449 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" != 136) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 136 AND "spree_option_types"."id" = 78 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" = 136) ORDER BY position DESC 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 78], ["position", 1], ["product_id", 136], ["updated_at", Sun, 30 Sep 2012 19:23:25 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 136) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.367112', "count_on_hand" = 5 WHERE "spree_products"."id" = 136  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 449 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.371355' WHERE "spree_products"."id" = 136 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 136 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", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.382127' WHERE "spree_products"."id" = 137 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 137], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.383634' WHERE "spree_products"."id" = 137  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.385279' WHERE "spree_products"."id" = 137  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 137  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 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" = 450 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" != 137) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 137 AND "spree_option_types"."id" = 78 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" = 137) ORDER BY position DESC 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 78], ["position", 1], ["product_id", 137], ["updated_at", Sun, 30 Sep 2012 19:23:25 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", Sun, 30 Sep 2012 19:23:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" = 137 AND "spree_option_types"."id" = 79 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" = 137) ORDER BY position DESC 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 79], ["position", 2], ["product_id", 137], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 137) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.410678', "count_on_hand" = 23 WHERE "spree_products"."id" = 137  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 450 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.412668' WHERE "spree_products"."id" = 137 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 137  (4.5ms) 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-09-30 19:23:25.420785')  (0.2ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 19:23:25.422234')  (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" = 135 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" = 135 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 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" = 137 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.5ms) 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.1ms) 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.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, 30 Sep 2012 20:23:25 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.507740' WHERE "spree_products"."id" = 138 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 138], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.509498' WHERE "spree_products"."id" = 138  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 451 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.511308' WHERE "spree_products"."id" = 138  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 138  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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", Sun, 30 Sep 2012 19:23:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" = 138 AND "spree_option_types"."id" = 80 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" = 138) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 80], ["position", 1], ["product_id", 138], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 138) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 138 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["available_on", Sun, 30 Sep 2012 20:23:25 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.717619' WHERE "spree_products"."id" = 139 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 139], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.719170' WHERE "spree_products"."id" = 139  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 452 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.721043' WHERE "spree_products"."id" = 139  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 139  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 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" = 139 AND "spree_option_types"."id" = 80 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 139) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 80], ["position", 1], ["product_id", 139], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 139) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 139 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", Sun, 30 Sep 2012 20:23:25 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.751772' WHERE "spree_products"."id" = 140 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 140], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.753299' WHERE "spree_products"."id" = 140  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 453 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.755250' WHERE "spree_products"."id" = 140  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 140  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 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.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" = 140 AND "spree_option_types"."id" = 80 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" = 140) ORDER BY position DESC 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 80], ["position", 1], ["product_id", 140], ["updated_at", Sun, 30 Sep 2012 19:23:25 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", Sun, 30 Sep 2012 19:23:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 140 AND "spree_option_types"."id" = 81 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" = 140) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 81], ["position", 2], ["product_id", 140], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 140) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 140 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (30.4ms) commit transaction  (0.4ms) 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" = 138 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (5.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (43.5ms) DELETE FROM "spree_option_types" SQL (14.4ms) DELETE FROM "spree_option_values" SQL (17.9ms) DELETE FROM "spree_properties" SQL (4.3ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.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: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"cost_price"=>1.0, "meta_keywords"=>"techno dubstep d&b", "available_on"=>"Time.now.to_s(:db)", "meta_description"=>"super duper meta desc."}}} 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.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", Sun, 30 Sep 2012 19:23:25 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, 30 Sep 2012 19:23:25 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.962698' WHERE "spree_products"."id" = 141 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", 141], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.966423' WHERE "spree_products"."id" = 141  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 454 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:25.969692' WHERE "spree_products"."id" = 141  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 141  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 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", Sun, 30 Sep 2012 19:23:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 141 AND "spree_option_types"."id" = 82 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 141) 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, 30 Sep 2012 19:23:25 UTC +00:00], ["option_type_id", 82], ["position", 1], ["product_id", 141], ["updated_at", Sun, 30 Sep 2012 19:23:25 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" != 141) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 141 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 (1.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:26 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, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.007065' WHERE "spree_products"."id" = 142 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 142], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.010212' WHERE "spree_products"."id" = 142  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 455 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.013936' WHERE "spree_products"."id" = 142  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 142  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 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.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" = 142 AND "spree_option_types"."id" = 82 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" = 142) ORDER BY position DESC 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, 30 Sep 2012 19:23:26 UTC +00:00], ["option_type_id", 82], ["position", 1], ["product_id", 142], ["updated_at", Sun, 30 Sep 2012 19:23:26 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" != 142) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 142 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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:26 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, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.039459' WHERE "spree_products"."id" = 143 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 143], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.041014' WHERE "spree_products"."id" = 143  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 456 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.042824' WHERE "spree_products"."id" = 143  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 143  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 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" = 143 AND "spree_option_types"."id" = 82 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 143) ORDER BY position DESC 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, 30 Sep 2012 19:23:26 UTC +00:00], ["option_type_id", 82], ["position", 1], ["product_id", 143], ["updated_at", Sun, 30 Sep 2012 19:23:26 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", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:26 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" = 143 AND "spree_option_types"."id" = 83 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" = 143) ORDER BY position DESC 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, 30 Sep 2012 19:23:26 UTC +00:00], ["option_type_id", 83], ["position", 2], ["product_id", 143], ["updated_at", Sun, 30 Sep 2012 19:23:26 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" != 143) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 143 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (5.0ms) 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" = 141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products"  SQL (27.8ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (7.4ms) DELETE FROM "spree_variants" SQL (247.1ms) DELETE FROM "spree_taxons" SQL (20.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.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]]  (3.3ms) 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 (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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.476206' WHERE "spree_products"."id" = 144 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", 144], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.479884' WHERE "spree_products"."id" = 144  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 457 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.482245' WHERE "spree_products"."id" = 144  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 144  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 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", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["product_id", nil], ["property_id", 111], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 144, "updated_at" = '2012-09-30 19:23:26.513528' WHERE "spree_product_properties"."id" = 132 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" != 144) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 163 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, 30 Sep 2012 19:23: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", 163], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 144 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (293, 144) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 164 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, 30 Sep 2012 19:23: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", 164], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (294, 144) 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" != 144) 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", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:26 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" = 144 AND "spree_option_types"."id" = 84 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" = 144) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["option_type_id", 84], ["position", 1], ["product_id", 144], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 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" = 84) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "jpeg"], ["option_type_id", 84], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.593563' WHERE "spree_products"."id" = 144 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 144], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.595284' WHERE "spree_products"."id" = 144  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (149, 458) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 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" = 84) ORDER BY position 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "PDF"], ["option_type_id", 84], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.602827' WHERE "spree_products"."id" = 144 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 144], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.604266' WHERE "spree_products"."id" = 144  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (150, 459) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 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" = 84) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "PNG"], ["option_type_id", 84], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.614765' WHERE "spree_products"."id" = 144 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 144], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.617765' WHERE "spree_products"."id" = 144  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (151, 460) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 144]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 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" != 144) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 458 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 459 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 460 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" != 144) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.804315' WHERE "spree_products"."id" = 144  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 458 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.805798' WHERE "spree_products"."id" = 144 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.809380' WHERE "spree_products"."id" = 144  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 459 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.811710' WHERE "spree_products"."id" = 144 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.814160' WHERE "spree_products"."id" = 144  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 460 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.815405' WHERE "spree_products"."id" = 144 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 144) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.819080', "count_on_hand" = 25 WHERE "spree_products"."id" = 144 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 144 Current value to assign : DEMO_002 Current value to 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 (1.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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.834307' WHERE "spree_products"."id" = 145 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 145], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.835871' WHERE "spree_products"."id" = 145  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 461 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.837684' WHERE "spree_products"."id" = 145  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 145  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["product_id", nil], ["property_id", 112], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 145, "updated_at" = '2012-09-30 19:23:26.846139' WHERE "spree_product_properties"."id" = 133 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" != 145) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 163 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" = 145 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (293, 145) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 165 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, 30 Sep 2012 19:23: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", 165], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (295, 145) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 163 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" = 163 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 293 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 293]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 293], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 163], ["updated_at", Sun, 30 Sep 2012 19:23: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", 293]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 296]] SQL (0.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 = 296 THEN 293 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 293]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 296]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 163 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 296 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 296]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 296], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 163], ["updated_at", Sun, 30 Sep 2012 19:23: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", 296]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 297]] 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 = 297 THEN 296 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 296]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 297]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (296, 145)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (297, 145) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 145) 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" = 145 AND "spree_option_types"."id" = 84 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" = 145) ORDER BY position DESC 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, 30 Sep 2012 19:23:26 UTC +00:00], ["option_type_id", 84], ["position", 1], ["product_id", 145], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.891775' WHERE "spree_products"."id" = 145 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 145], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.894383' WHERE "spree_products"."id" = 145  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (149, 462) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.901739' WHERE "spree_products"."id" = 145 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 145], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.904257' WHERE "spree_products"."id" = 145  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (150, 463) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.908883' WHERE "spree_products"."id" = 145 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 145], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.910468' WHERE "spree_products"."id" = 145  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (464, 151) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 145]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 145) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 462 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 463 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 464 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" != 145) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.927247' WHERE "spree_products"."id" = 145  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 462 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.928518' WHERE "spree_products"."id" = 145 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.932195' WHERE "spree_products"."id" = 145  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 463 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.934721' WHERE "spree_products"."id" = 145 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.936802' WHERE "spree_products"."id" = 145  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 464 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.937896' WHERE "spree_products"."id" = 145 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" != 145) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.943391', "count_on_hand" = 11 WHERE "spree_products"."id" = 145 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 145 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.955761' WHERE "spree_products"."id" = 146 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 146], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.957261' WHERE "spree_products"."id" = 146  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 465 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:26.958880' WHERE "spree_products"."id" = 146  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 146  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["product_id", nil], ["property_id", 113], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 146, "updated_at" = '2012-09-30 19:23:26.966309' WHERE "spree_product_properties"."id" = 134 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, 30 Sep 2012 19:23:26 UTC +00:00], ["product_id", nil], ["property_id", 112], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 146, "updated_at" = '2012-09-30 19:23:26.969172' WHERE "spree_product_properties"."id" = 135 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["product_id", nil], ["property_id", 114], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 146, "updated_at" = '2012-09-30 19:23:26.973155' WHERE "spree_product_properties"."id" = 136 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 146) 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, 30 Sep 2012 19:23:26 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:26 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 166 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 166], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 146 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 298) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 163 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" = 163 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 293 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 293]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 293], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 163], ["updated_at", Sun, 30 Sep 2012 19:23: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", 293]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 299]] 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 = 299 THEN 293 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 293]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 299]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 299)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 293) 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" != 146) 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" = 146 AND "spree_option_types"."id" = 84 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" = 146) ORDER BY position DESC 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, 30 Sep 2012 19:23:27 UTC +00:00], ["option_type_id", 84], ["position", 1], ["product_id", 146], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.010497' WHERE "spree_products"."id" = 146 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 146], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.012323' WHERE "spree_products"."id" = 146  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (466, 149) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.018739' WHERE "spree_products"."id" = 146 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 146], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.020295' WHERE "spree_products"."id" = 146  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (150, 467) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 84 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.023684' WHERE "spree_products"."id" = 146 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 146], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.024933' WHERE "spree_products"."id" = 146  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (468, 151) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 146]] 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:27 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" = 146 AND "spree_option_types"."id" = 85 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" = 146) ORDER BY position DESC 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, 30 Sep 2012 19:23:27 UTC +00:00], ["option_type_id", 85], ["position", 2], ["product_id", 146], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 85 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" = 85) ORDER BY position 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "black_white"], ["option_type_id", 85], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.039609' WHERE "spree_products"."id" = 146 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 146], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.041558' WHERE "spree_products"."id" = 146  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (469, 152) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 85 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" = 85) ORDER BY position 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "colour"], ["option_type_id", 85], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.049484' WHERE "spree_products"."id" = 146 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 146], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.051298' WHERE "spree_products"."id" = 146  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (153, 470) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 146]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 146) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 466 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 467 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 468 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 469 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 470 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" != 146) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.080190' WHERE "spree_products"."id" = 146  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 466 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.081461' WHERE "spree_products"."id" = 146 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.082949' WHERE "spree_products"."id" = 146  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 467 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.084113' WHERE "spree_products"."id" = 146 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.087574' WHERE "spree_products"."id" = 146  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 468 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.090225' WHERE "spree_products"."id" = 146 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.093146' WHERE "spree_products"."id" = 146  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 469 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.094626' WHERE "spree_products"."id" = 146 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.096261' WHERE "spree_products"."id" = 146  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 470 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.097637' WHERE "spree_products"."id" = 146 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 146) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.101627', "count_on_hand" = 53 WHERE "spree_products"."id" = 146 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 146 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (56.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" = 144 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" = 146 Spree::Property Load (0.3ms) 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" = 146 SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.7ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (4.2ms) 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.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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (4.5ms) 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 (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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.274971' WHERE "spree_products"."id" = 147 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 147], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.276949' WHERE "spree_products"."id" = 147  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 471 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.278945' WHERE "spree_products"."id" = 147  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 147  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["product_id", nil], ["property_id", 115], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 147, "updated_at" = '2012-09-30 19:23:27.291884' WHERE "spree_product_properties"."id" = 137 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" != 147) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 167 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 167], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 147 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (300, 147) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 147) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 168 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, 30 Sep 2012 19:23: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", 168], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (301, 147) 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" != 147) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:27 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" = 147 AND "spree_option_types"."id" = 86 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" = 147) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["option_type_id", 86], ["position", 1], ["product_id", 147], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 86 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" = 86) ORDER BY position 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 86], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.514908' WHERE "spree_products"."id" = 147 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 147], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.516566' WHERE "spree_products"."id" = 147  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (472, 154) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 147]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 147) 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" = 147 AND "spree_option_types"."id" = 86 ORDER 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" = 86 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" = 86) ORDER BY position 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 86], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.529042' WHERE "spree_products"."id" = 147 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 147], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.530544' WHERE "spree_products"."id" = 147  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (155, 473) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 147]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 147) 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" = 147 AND "spree_option_types"."id" = 86 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" = 86 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" = 86) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 86], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.548372' WHERE "spree_products"."id" = 147 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 147], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.549978' WHERE "spree_products"."id" = 147  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (156, 474) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 147]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 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" != 147) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 472 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 473 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 474 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" != 147) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.575672' WHERE "spree_products"."id" = 147  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 472 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.577386' WHERE "spree_products"."id" = 147 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.579172' WHERE "spree_products"."id" = 147  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 473 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.580275' WHERE "spree_products"."id" = 147 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.581729' WHERE "spree_products"."id" = 147  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 474 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.582751' WHERE "spree_products"."id" = 147 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 147) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.586128', "count_on_hand" = 25 WHERE "spree_products"."id" = 147 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 147 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.596793' WHERE "spree_products"."id" = 148 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 148], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.598975' WHERE "spree_products"."id" = 148  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 475 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.600994' WHERE "spree_products"."id" = 148  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 148  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["product_id", nil], ["property_id", 116], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 148, "updated_at" = '2012-09-30 19:23:27.617192' WHERE "spree_product_properties"."id" = 138 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" != 148) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 167 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" = 148 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (300, 148) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 148) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 169 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 169], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (302, 148) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 148) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 167 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" = 167 AND "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 300 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", 300]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 300], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 167], ["updated_at", Sun, 30 Sep 2012 19:23: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", 300]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 303]] SQL (0.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 = 303 THEN 300 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 300]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 303]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 167 AND "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 303 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", 303]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 303], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 167], ["updated_at", Sun, 30 Sep 2012 19:23: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", 303]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 304]] 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 = 304 THEN 303 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 303]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 304]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (303, 148)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (304, 148) 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" != 148) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 148 AND "spree_option_types"."id" = 86 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 148) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["option_type_id", 86], ["position", 1], ["product_id", 148], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 86 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.675971' WHERE "spree_products"."id" = 148 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 148], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.677925' WHERE "spree_products"."id" = 148  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (154, 476) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 148]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 148) 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" = 148 AND "spree_option_types"."id" = 86 ORDER 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" = 86 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.687105' WHERE "spree_products"."id" = 148 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 148], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.688538' WHERE "spree_products"."id" = 148  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (155, 477) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 148]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 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" != 148) 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" = 148 AND "spree_option_types"."id" = 86 ORDER 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" = 86 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.700931' WHERE "spree_products"."id" = 148 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 148], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.702444' WHERE "spree_products"."id" = 148  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (478, 156) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 148]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 148) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 476 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 477 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 478 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" != 148) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 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" = 148 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.727588' WHERE "spree_products"."id" = 148  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 476 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.730089' WHERE "spree_products"."id" = 148 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.733413' WHERE "spree_products"."id" = 148  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 477 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.736246' WHERE "spree_products"."id" = 148 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.739778' WHERE "spree_products"."id" = 148  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 478 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.742360' WHERE "spree_products"."id" = 148 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" != 148) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.749225', "count_on_hand" = 11 WHERE "spree_products"."id" = 148 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 148 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.761935' WHERE "spree_products"."id" = 149 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 149], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.763336' WHERE "spree_products"."id" = 149  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 479 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.764902' WHERE "spree_products"."id" = 149  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 149  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:27 UTC +00:00], ["product_id", nil], ["property_id", 117], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 149, "updated_at" = '2012-09-30 19:23:27.773704' WHERE "spree_product_properties"."id" = 139 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" != 149) 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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["product_id", nil], ["property_id", 116], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 149, "updated_at" = '2012-09-30 19:23:27.781337' WHERE "spree_product_properties"."id" = 140 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" != 149) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["product_id", nil], ["property_id", 118], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 149, "updated_at" = '2012-09-30 19:23:27.790412' WHERE "spree_product_properties"."id" = 141 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 170 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 170], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 149 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (149, 305) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 167 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" = 167 AND "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 300 LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 300]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Landscape"], ["parent_id", 300], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 167], ["updated_at", Sun, 30 Sep 2012 19:23: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", 300]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 306]] 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 = 306 THEN 300 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 300]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 306]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (149, 306)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (149, 300) 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" != 149) 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" = 149 AND "spree_option_types"."id" = 86 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" = 149) 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, 30 Sep 2012 19:23:27 UTC +00:00], ["option_type_id", 86], ["position", 1], ["product_id", 149], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 86 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.828836' WHERE "spree_products"."id" = 149 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 149], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.831191' WHERE "spree_products"."id" = 149  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (154, 480) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 149]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) 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" = 149 AND "spree_option_types"."id" = 86 ORDER 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" = 86 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.842919' WHERE "spree_products"."id" = 149 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 149], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.844425' WHERE "spree_products"."id" = 149  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (481, 155) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 149]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 149 AND "spree_option_types"."id" = 86 ORDER 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" = 86 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.858076' WHERE "spree_products"."id" = 149 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 149], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.859598' WHERE "spree_products"."id" = 149  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (156, 482) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 149]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) 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", Sun, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:27 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" = 149 AND "spree_option_types"."id" = 87 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" = 149) ORDER BY position DESC 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, 30 Sep 2012 19:23:27 UTC +00:00], ["option_type_id", 87], ["position", 2], ["product_id", 149], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 87 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" = 87) ORDER BY position 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "black_white"], ["option_type_id", 87], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.875851' WHERE "spree_products"."id" = 149 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 149], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.877396' WHERE "spree_products"."id" = 149  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (157, 483) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 149]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) 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.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" = 149 AND "spree_option_types"."id" = 87 ORDER 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" = 87 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" = 87) ORDER BY position 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, 30 Sep 2012 19:23:27 UTC +00:00], ["name", "colour"], ["option_type_id", 87], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:27.889852' WHERE "spree_products"."id" = 149 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 149], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.060282' WHERE "spree_products"."id" = 149  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (158, 484) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 149]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 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" != 149) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 480 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 481 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 482 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 483 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 484 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" != 149) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.086924' WHERE "spree_products"."id" = 149  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 480 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.088309' WHERE "spree_products"."id" = 149 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.089856' WHERE "spree_products"."id" = 149  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 481 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.091123' WHERE "spree_products"."id" = 149 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.094082' WHERE "spree_products"."id" = 149  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 482 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.096344' WHERE "spree_products"."id" = 149 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.099289' WHERE "spree_products"."id" = 149  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 483 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.100654' WHERE "spree_products"."id" = 149 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.102351' WHERE "spree_products"."id" = 149  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 484 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.103446' WHERE "spree_products"."id" = 149 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 149) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:28.108217', "count_on_hand" = 53 WHERE "spree_products"."id" = 149 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 149 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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" = 147 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" = 149 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" = 149 SQL (4.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (75.6ms) DELETE FROM "spree_option_values" SQL (2.4ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.5ms) 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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (8.8ms) DELETE FROM "spree_product_properties" SQL (5.4ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (3.4ms) 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 PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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: # SQL (276.3ms) 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.1ms) DELETE FROM "spree_option_values" SQL (485.8ms) DELETE FROM "spree_properties" SQL (13.0ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (5.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: # Booted Spree using version 1.1.3 SQL (54.7ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (6.9ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 171 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, 30 Sep 2012 19:23: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", 171], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 19:23:41 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", 171], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]]  (5.1ms) 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", Sun, 30 Sep 2012 19:23:41 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", 171], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]]  (5.3ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.8ms) 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 (3.8ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 172 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, 30 Sep 2012 19:23: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", 172], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:23:41 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", 172], ["updated_at", Sun, 30 Sep 2012 19:23:41 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 (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:41 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", 172], ["updated_at", Sun, 30 Sep 2012 19:23:41 UTC +00:00]]  (5.1ms) commit transaction Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 172 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 172 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 172 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.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 (3.5ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 173 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, 30 Sep 2012 19:23: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", 173], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) 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, 30 Sep 2012 19:23: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", 173], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (5.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", Sun, 30 Sep 2012 19:23: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", 173], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (5.6ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (4.0ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 174 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, 30 Sep 2012 19:23: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", 174], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:23: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", 174], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:23: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", 174], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (3.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 175 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, 30 Sep 2012 19:23: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", 175], ["updated_at", Sun, 30 Sep 2012 19:23:42 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 (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 175], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:23: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", 175], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]]  (4.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.2ms) 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 (3.9ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (2.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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.579692' WHERE "spree_products"."id" = 150 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 150], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.582109' WHERE "spree_products"."id" = 150  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 485 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.587188' WHERE "spree_products"."id" = 150  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 150  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:23:42 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, 30 Sep 2012 19:23:42 UTC +00:00], ["product_id", nil], ["property_id", 119], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:42.630466', "product_id" = 150 WHERE "spree_product_properties"."id" = 142 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" != 150) 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, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 176 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, 30 Sep 2012 19:23: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", 176], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 150 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (322, 150) 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", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 177 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, 30 Sep 2012 19:23: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", 177], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (323, 150) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 150) LIMIT 1 Spree::OptionType Load (0.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.6ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 150 AND "spree_option_types"."id" = 88 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" = 150) 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, 30 Sep 2012 19:23:42 UTC +00:00], ["option_type_id", 88], ["position", 1], ["product_id", 150], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 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" = 88) 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, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "jpeg"], ["option_type_id", 88], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.729809' WHERE "spree_products"."id" = 150 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 150], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.732643' WHERE "spree_products"."id" = 150  (0.3ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (486, 159) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 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" = 88) 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, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "PDF"], ["option_type_id", 88], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.746618' WHERE "spree_products"."id" = 150 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 150], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.748211' WHERE "spree_products"."id" = 150  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (160, 487) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 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" = 88) ORDER BY position 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, 30 Sep 2012 19:23:42 UTC +00:00], ["name", "PNG"], ["option_type_id", 88], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:42 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.754591' WHERE "spree_products"."id" = 150 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 150], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.756496' WHERE "spree_products"."id" = 150  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (488, 161) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 150]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 150) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 486 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 488 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" != 150) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.807353' WHERE "spree_products"."id" = 150  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 486 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.809339' WHERE "spree_products"."id" = 150 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.812595' WHERE "spree_products"."id" = 150  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 487 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.814742' WHERE "spree_products"."id" = 150 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.816987' WHERE "spree_products"."id" = 150  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 488 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:42.818260' WHERE "spree_products"."id" = 150 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 150) 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" = 485 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" = 485) 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, 30 Sep 2012 19:23:42 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 485], ["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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 150) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.809330', "count_on_hand" = 25 WHERE "spree_products"."id" = 150 Current 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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19: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", Sun, 30 Sep 2012 19:23:43 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.823788' WHERE "spree_products"."id" = 151 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 151], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.826481' WHERE "spree_products"."id" = 151  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 489 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.829539' WHERE "spree_products"."id" = 151  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 151  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:43 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:43 UTC +00:00], ["product_id", nil], ["property_id", 120], ["updated_at", Sun, 30 Sep 2012 19:23:43 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:43.840278', "product_id" = 151 WHERE "spree_product_properties"."id" = 143 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" != 151) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 176 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" = 151 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (322, 151) 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, 30 Sep 2012 19:23:43 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:23:43 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 178 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, 30 Sep 2012 19:23: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 178], ["updated_at", Sun, 30 Sep 2012 19:23:43 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (324, 151) 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, 30 Sep 2012 19:23:43 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:43 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 179 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 179], ["updated_at", Sun, 30 Sep 2012 19:23:43 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (325, 151) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 151) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 151 AND "spree_option_types"."id" = 88 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" = 151) 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, 30 Sep 2012 19:23:43 UTC +00:00], ["option_type_id", 88], ["position", 1], ["product_id", 151], ["updated_at", Sun, 30 Sep 2012 19:23:43 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.877377' WHERE "spree_products"."id" = 151 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 151], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.879035' WHERE "spree_products"."id" = 151  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (159, 490) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.882623' WHERE "spree_products"."id" = 151 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 151], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.884004' WHERE "spree_products"."id" = 151  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (160, 491) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.889681' WHERE "spree_products"."id" = 151 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 151], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.892050' WHERE "spree_products"."id" = 151  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (161, 492) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 151]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 151) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 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" = 490 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" = 491 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 492 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" != 151) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.920104' WHERE "spree_products"."id" = 151  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 490 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.921897' WHERE "spree_products"."id" = 151 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.924722' WHERE "spree_products"."id" = 151  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 491 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.927296' WHERE "spree_products"."id" = 151 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.930464' WHERE "spree_products"."id" = 151  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 492 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:43.932602' WHERE "spree_products"."id" = 151 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" != 151) 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" = 489 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 489) 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", Sun, 30 Sep 2012 19:23:43 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 489], ["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" != 151) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.844711', "count_on_hand" = 11 WHERE "spree_products"."id" = 151 Current value 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.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", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:45 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.866001' WHERE "spree_products"."id" = 152 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 152], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.868429' WHERE "spree_products"."id" = 152  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 493 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.871010' WHERE "spree_products"."id" = 152  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 152  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:45 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:45 UTC +00:00], ["product_id", nil], ["property_id", 121], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:45.884481', "product_id" = 152 WHERE "spree_product_properties"."id" = 144 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, 30 Sep 2012 19:23:45 UTC +00:00], ["product_id", nil], ["property_id", 120], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:45.888416', "product_id" = 152 WHERE "spree_product_properties"."id" = 145 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, 30 Sep 2012 19:23:45 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:45 UTC +00:00], ["product_id", nil], ["property_id", 122], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:45.895782', "product_id" = 152 WHERE "spree_product_properties"."id" = 146 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" != 152) LIMIT 1 Spree::Taxonomy Load (0.2ms) 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", Sun, 30 Sep 2012 19:23:45 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 180 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 180], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 152 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (326, 152) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 152) 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" = 152 AND "spree_option_types"."id" = 88 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" = 152) 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, 30 Sep 2012 19:23:45 UTC +00:00], ["option_type_id", 88], ["position", 1], ["product_id", 152], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.925343' WHERE "spree_products"."id" = 152 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 152], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.927019' WHERE "spree_products"."id" = 152  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (494, 159) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.930849' WHERE "spree_products"."id" = 152 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 152], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.933947' WHERE "spree_products"."id" = 152  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (160, 495) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 88 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.939839' WHERE "spree_products"."id" = 152 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 152], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.942983' WHERE "spree_products"."id" = 152  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (161, 496) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 152]] 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, 30 Sep 2012 19:23:45 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:45 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" = 152 AND "spree_option_types"."id" = 89 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" = 152) 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, 30 Sep 2012 19:23:45 UTC +00:00], ["option_type_id", 89], ["position", 2], ["product_id", 152], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 89 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" = 89) 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, 30 Sep 2012 19:23:45 UTC +00:00], ["name", "black_white"], ["option_type_id", 89], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.964899' WHERE "spree_products"."id" = 152 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 152], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.966532' WHERE "spree_products"."id" = 152  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (497, 162) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 89 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" = 89) 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, 30 Sep 2012 19:23:45 UTC +00:00], ["name", "colour"], ["option_type_id", 89], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:45 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.977180' WHERE "spree_products"."id" = 152 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 152], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:45.978949' WHERE "spree_products"."id" = 152  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (498, 163) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 152]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 152) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 494 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 495 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 496 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" = 497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 498 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" != 152) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.008968' WHERE "spree_products"."id" = 152  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 494 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.010343' WHERE "spree_products"."id" = 152 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.011947' WHERE "spree_products"."id" = 152  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 495 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.013099' WHERE "spree_products"."id" = 152 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.014842' WHERE "spree_products"."id" = 152  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 496 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.018555' WHERE "spree_products"."id" = 152 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.021836' WHERE "spree_products"."id" = 152  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 497 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.024129' WHERE "spree_products"."id" = 152 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.026250' WHERE "spree_products"."id" = 152  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 498 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.242861' WHERE "spree_products"."id" = 152 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 152) 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" = 493 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 493) 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", Sun, 30 Sep 2012 19:23:46 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 493], ["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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 152) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.715508', "count_on_hand" = 53 WHERE "spree_products"."id" = 152  (28.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.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" = 150 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 = 485) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 150)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 485 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" = 150 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 = 485) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 150)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 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 = 489) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 151)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 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 = 493) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 152))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_products" SQL (3.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (4.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.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.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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.880814' WHERE "spree_products"."id" = 153 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 153], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.882683' WHERE "spree_products"."id" = 153  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 499 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.884483' WHERE "spree_products"."id" = 153  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 153  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 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, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:23:46 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, 30 Sep 2012 19:23:46 UTC +00:00], ["product_id", nil], ["property_id", 123], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:46.899330', "product_id" = 153 WHERE "spree_product_properties"."id" = 147 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" != 153) 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, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 181 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 181], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 153 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (327, 153) 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, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 182 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 182], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (328, 153) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 153) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 153 AND "spree_option_types"."id" = 90 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" = 153) ORDER BY position DESC 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, 30 Sep 2012 19:23:46 UTC +00:00], ["option_type_id", 90], ["position", 1], ["product_id", 153], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 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" = 90) 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, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "jpeg"], ["option_type_id", 90], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.939698' WHERE "spree_products"."id" = 153 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 153], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.941431' WHERE "spree_products"."id" = 153  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (500, 164) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 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" = 90) ORDER BY position 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, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "PDF"], ["option_type_id", 90], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.948744' WHERE "spree_products"."id" = 153 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 153], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.951600' WHERE "spree_products"."id" = 153  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (165, 501) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 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" = 90) ORDER BY position 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, 30 Sep 2012 19:23:46 UTC +00:00], ["name", "PNG"], ["option_type_id", 90], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.959086' WHERE "spree_products"."id" = 153 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 153], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.960815' WHERE "spree_products"."id" = 153  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (502, 166) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 153]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 153) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 500 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 501 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 502 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" != 153) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 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" = 153 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.984902' WHERE "spree_products"."id" = 153  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 500 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.986846' WHERE "spree_products"."id" = 153 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.988718' WHERE "spree_products"."id" = 153  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 501 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.990048' WHERE "spree_products"."id" = 153 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.992348' WHERE "spree_products"."id" = 153  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 502 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:46.993691' WHERE "spree_products"."id" = 153 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 153) 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" = 499 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 499) 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", Sun, 30 Sep 2012 19:23:46 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 499], ["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" != 153) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.365683', "count_on_hand" = 25 WHERE "spree_products"."id" = 153 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 153 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:47 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.382227' WHERE "spree_products"."id" = 154 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 154], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.383795' WHERE "spree_products"."id" = 154  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 503 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.385737' WHERE "spree_products"."id" = 154  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 154  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 19:23:47 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:47 UTC +00:00], ["product_id", nil], ["property_id", 124], ["updated_at", Sun, 30 Sep 2012 19:23:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:47.400145', "product_id" = 154 WHERE "spree_product_properties"."id" = 148 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" != 154) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 181 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" = 154 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (154, 327) 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, 30 Sep 2012 19:23:47 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:23:47 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 183 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, 30 Sep 2012 19:23: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", 183], ["updated_at", Sun, 30 Sep 2012 19:23:47 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (154, 329) 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, 30 Sep 2012 19:23:47 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:47 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 184 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 184], ["updated_at", Sun, 30 Sep 2012 19:23:47 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (154, 330) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 154) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 154 AND "spree_option_types"."id" = 90 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" = 154) ORDER BY position DESC 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, 30 Sep 2012 19:23:47 UTC +00:00], ["option_type_id", 90], ["position", 1], ["product_id", 154], ["updated_at", Sun, 30 Sep 2012 19:23:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.437435' WHERE "spree_products"."id" = 154 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 154], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.439010' WHERE "spree_products"."id" = 154  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (164, 504) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.445580' WHERE "spree_products"."id" = 154 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 154], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.447817' WHERE "spree_products"."id" = 154  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (165, 505) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.451776' WHERE "spree_products"."id" = 154 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 154], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.453157' WHERE "spree_products"."id" = 154  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (166, 506) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 154]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 154) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 504 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 505 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 506 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" != 154) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.473482' WHERE "spree_products"."id" = 154  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 504 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.474958' WHERE "spree_products"."id" = 154 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.476709' WHERE "spree_products"."id" = 154  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 505 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.477990' WHERE "spree_products"."id" = 154 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.480192' WHERE "spree_products"."id" = 154  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 506 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:47.481500' WHERE "spree_products"."id" = 154 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" != 154) 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" = 503 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 503) 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", Sun, 30 Sep 2012 19:23:47 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 503], ["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" != 154) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.714631', "count_on_hand" = 11 WHERE "spree_products"."id" = 154 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 154 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:49 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.740244' WHERE "spree_products"."id" = 155 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 155], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.744818' WHERE "spree_products"."id" = 155  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 507 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.749011' WHERE "spree_products"."id" = 155  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 155  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:49 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["product_id", nil], ["property_id", 125], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:49.764025', "product_id" = 155 WHERE "spree_product_properties"."id" = 149 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.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["product_id", nil], ["property_id", 124], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:49.772119', "product_id" = 155 WHERE "spree_product_properties"."id" = 150 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, 30 Sep 2012 19:23:49 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["product_id", nil], ["property_id", 126], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:49.782081', "product_id" = 155 WHERE "spree_product_properties"."id" = 151 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 155) 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", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 185 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 185], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 155 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (155, 331) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 155) 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" = 155 AND "spree_option_types"."id" = 90 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" = 155) ORDER BY position DESC 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, 30 Sep 2012 19:23:49 UTC +00:00], ["option_type_id", 90], ["position", 1], ["product_id", 155], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.810419' WHERE "spree_products"."id" = 155 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 155], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.812320' WHERE "spree_products"."id" = 155  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (164, 508) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.818854' WHERE "spree_products"."id" = 155 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 155], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.821419' WHERE "spree_products"."id" = 155  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (509, 165) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 90 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.829275' WHERE "spree_products"."id" = 155 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 155], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.831538' WHERE "spree_products"."id" = 155  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (166, 510) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 155]] 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, 30 Sep 2012 19:23:49 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:49 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" = 155 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 155) 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, 30 Sep 2012 19:23:49 UTC +00:00], ["option_type_id", 91], ["position", 2], ["product_id", 155], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 91 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" = 91) ORDER BY position 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, 30 Sep 2012 19:23:49 UTC +00:00], ["name", "black_white"], ["option_type_id", 91], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.852279' WHERE "spree_products"."id" = 155 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 155], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.853873' WHERE "spree_products"."id" = 155  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (511, 167) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 91 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" = 91) ORDER BY position 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, 30 Sep 2012 19:23:49 UTC +00:00], ["name", "colour"], ["option_type_id", 91], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:49 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.865162' WHERE "spree_products"."id" = 155 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 155], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.866717' WHERE "spree_products"."id" = 155  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (168, 512) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 155]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 155) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 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" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 508 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 510 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 511 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 512 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" != 155) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.893554' WHERE "spree_products"."id" = 155  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 508 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.896026' WHERE "spree_products"."id" = 155 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.899426' WHERE "spree_products"."id" = 155  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 509 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.901675' WHERE "spree_products"."id" = 155 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.904337' WHERE "spree_products"."id" = 155  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 510 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.905850' WHERE "spree_products"."id" = 155 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.908327' WHERE "spree_products"."id" = 155  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 511 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.910466' WHERE "spree_products"."id" = 155 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.912524' WHERE "spree_products"."id" = 155  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 512 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:49.913846' WHERE "spree_products"."id" = 155 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 155) 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" = 507 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 507) 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", Sun, 30 Sep 2012 19:23:49 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 507], ["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-third-row-in-future' AND "spree_products"."id" != 155) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.305178', "count_on_hand" = 53 WHERE "spree_products"."id" = 155 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 155 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::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" = 153 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 = 499) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 153)) 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" = 153 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 = 499) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 153)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 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 = 503) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 154)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 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 = 507) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 155))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_products" SQL (3.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.6ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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: #  (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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.442967' WHERE "spree_products"."id" = 156 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 156], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.445125' WHERE "spree_products"."id" = 156  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 513 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.448373' WHERE "spree_products"."id" = 156  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 156  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:23:50 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, 30 Sep 2012 19:23:50 UTC +00:00], ["product_id", nil], ["property_id", 127], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:50.467897', "product_id" = 156 WHERE "spree_product_properties"."id" = 152 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" != 156) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 186 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 186], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 156 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (332, 156) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 187 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 187], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (333, 156) 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" != 156) 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", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 156 AND "spree_option_types"."id" = 92 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 156) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["option_type_id", 92], ["position", 1], ["product_id", 156], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 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" = 92) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "jpeg"], ["option_type_id", 92], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.736955' WHERE "spree_products"."id" = 156 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 156], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.739025' WHERE "spree_products"."id" = 156  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (169, 514) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 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" = 92) ORDER BY position 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "PDF"], ["option_type_id", 92], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.745130' WHERE "spree_products"."id" = 156 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 156], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.746663' WHERE "spree_products"."id" = 156  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (170, 515) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 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" = 92) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "PNG"], ["option_type_id", 92], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.753789' WHERE "spree_products"."id" = 156 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 156], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.756259' WHERE "spree_products"."id" = 156  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (171, 516) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 156]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 156) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 514 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 515 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 516 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" != 156) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.774220' WHERE "spree_products"."id" = 156  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 514 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.776330' WHERE "spree_products"."id" = 156 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.779025' WHERE "spree_products"."id" = 156  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 515 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.780640' WHERE "spree_products"."id" = 156 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.782467' WHERE "spree_products"."id" = 156  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 516 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.783592' WHERE "spree_products"."id" = 156 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 156) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.789284', "count_on_hand" = 25 WHERE "spree_products"."id" = 156 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 156 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.800469' WHERE "spree_products"."id" = 157 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 157], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.801920' WHERE "spree_products"."id" = 157  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 517 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.803705' WHERE "spree_products"."id" = 157  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 157  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["product_id", nil], ["property_id", 128], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:50.812671', "product_id" = 157 WHERE "spree_product_properties"."id" = 153 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" != 157) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 186 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" = 157 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (157, 332) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 188 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, 30 Sep 2012 19:23: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 188], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (157, 334) 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" = 186 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" = 186 AND "spree_taxons"."parent_id" = 332 AND "spree_taxons"."name" = 'Nature' 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", 332]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Nature"], ["parent_id", 332], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 186], ["updated_at", Sun, 30 Sep 2012 19:23:50 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", 332]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 335]] 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 = 335 THEN 332 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 332]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 335]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 186 AND "spree_taxons"."parent_id" = 335 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", 335]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Seascape"], ["parent_id", 335], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 186], ["updated_at", Sun, 30 Sep 2012 19:23: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", 335]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 336]] 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 = 336 THEN 335 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 335]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 336]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (157, 335)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (157, 336) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 157) 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" = 157 AND "spree_option_types"."id" = 92 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" = 157) ORDER BY position DESC 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, 30 Sep 2012 19:23:50 UTC +00:00], ["option_type_id", 92], ["position", 1], ["product_id", 157], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.864267' WHERE "spree_products"."id" = 157 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 157], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.865858' WHERE "spree_products"."id" = 157  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (518, 169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.869203' WHERE "spree_products"."id" = 157 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 157], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.870454' WHERE "spree_products"."id" = 157  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (519, 170) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.873916' WHERE "spree_products"."id" = 157 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 157], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.875404' WHERE "spree_products"."id" = 157  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (520, 171) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 157]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 157) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 518 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 519 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 520 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" != 157) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.893437' WHERE "spree_products"."id" = 157  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 518 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.895700' WHERE "spree_products"."id" = 157 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.898641' WHERE "spree_products"."id" = 157  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 519 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.901499' WHERE "spree_products"."id" = 157 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.904235' WHERE "spree_products"."id" = 157  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 520 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.905624' WHERE "spree_products"."id" = 157 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 157) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.909234', "count_on_hand" = 11 WHERE "spree_products"."id" = 157 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 157 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.919735' WHERE "spree_products"."id" = 158 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 158], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.921458' WHERE "spree_products"."id" = 158  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 521 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.923301' WHERE "spree_products"."id" = 158  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 158  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:50 UTC +00:00], ["product_id", nil], ["property_id", 129], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:50.931797', "product_id" = 158 WHERE "spree_product_properties"."id" = 154 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", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["product_id", nil], ["property_id", 128], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:50.937489', "product_id" = 158 WHERE "spree_product_properties"."id" = 155 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["product_id", nil], ["property_id", 130], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:50.943225', "product_id" = 158 WHERE "spree_product_properties"."id" = 156 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" != 158) 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 189 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 189], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 158 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 337) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 186 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" = 186 AND "spree_taxons"."parent_id" = 332 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", 332]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", "Landscape"], ["parent_id", 332], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 186], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 332]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 338]] 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 = 338 THEN 332 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 332]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 338]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 338)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 332) 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" != 158) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_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" = 158 AND "spree_option_types"."id" = 92 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" = 158) ORDER BY position DESC 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, 30 Sep 2012 19:23:50 UTC +00:00], ["option_type_id", 92], ["position", 1], ["product_id", 158], ["updated_at", Sun, 30 Sep 2012 19:23:50 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.980499' WHERE "spree_products"."id" = 158 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 158], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.981952' WHERE "spree_products"."id" = 158  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (522, 169) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.985744' WHERE "spree_products"."id" = 158 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 158], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.987153' WHERE "spree_products"."id" = 158  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (523, 170) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 92 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.991722' WHERE "spree_products"."id" = 158 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 158], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:50.994245' WHERE "spree_products"."id" = 158  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (171, 524) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 158]] 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, 30 Sep 2012 19:23:50 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 158 AND "spree_option_types"."id" = 93 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" = 158) ORDER BY position DESC 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, 30 Sep 2012 19:23:51 UTC +00:00], ["option_type_id", 93], ["position", 2], ["product_id", 158], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 93 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" = 93) ORDER BY position 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "black_white"], ["option_type_id", 93], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.010114' WHERE "spree_products"."id" = 158 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 158], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.011575' WHERE "spree_products"."id" = 158  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (172, 525) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 93 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" = 93) ORDER BY position 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "colour"], ["option_type_id", 93], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 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" = 158 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.019661' WHERE "spree_products"."id" = 158 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 158], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.022085' WHERE "spree_products"."id" = 158  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (526, 173) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 158]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 158) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 522 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 523 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 524 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 525 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 526 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" != 158) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.046374' WHERE "spree_products"."id" = 158  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 522 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.047731' WHERE "spree_products"."id" = 158 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.049202' WHERE "spree_products"."id" = 158  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 523 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.050432' WHERE "spree_products"."id" = 158 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.052388' WHERE "spree_products"."id" = 158  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 524 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.055467' WHERE "spree_products"."id" = 158 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.059105' WHERE "spree_products"."id" = 158  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 525 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.061364' WHERE "spree_products"."id" = 158 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.064591' WHERE "spree_products"."id" = 158  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 526 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.066245' WHERE "spree_products"."id" = 158 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 158) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.070262', "count_on_hand" = 53 WHERE "spree_products"."id" = 158 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 158 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 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 = 521) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 158)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 158]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 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 = 521) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 158)) SQL (5.4ms) 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 (8.4ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (8.0ms) DELETE FROM "spree_product_properties" SQL (5.8ms) DELETE FROM "spree_variants" SQL (9.4ms) DELETE FROM "spree_taxons" SQL (8.6ms) DELETE FROM "spree_taxonomies" SQL (3.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: # 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.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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.457332' WHERE "spree_products"."id" = 159 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 159], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.459687' WHERE "spree_products"."id" = 159  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 527 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.461681' WHERE "spree_products"."id" = 159  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 159  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:23:51 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, 30 Sep 2012 19:23:51 UTC +00:00], ["product_id", nil], ["property_id", 131], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:51.475085', "product_id" = 159 WHERE "spree_product_properties"."id" = 157 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" != 159) 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 190 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, 30 Sep 2012 19:23:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 190], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 159 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (339, 159) 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 191 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, 30 Sep 2012 19:23:51 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", 191], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (340, 159) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 159) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:51 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" = 159 AND "spree_option_types"."id" = 94 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" = 159) ORDER BY position DESC 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, 30 Sep 2012 19:23:51 UTC +00:00], ["option_type_id", 94], ["position", 1], ["product_id", 159], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 94 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" = 94) ORDER BY position 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "jpeg"], ["option_type_id", 94], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.514451' WHERE "spree_products"."id" = 159 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 159], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.516595' WHERE "spree_products"."id" = 159  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (528, 174) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 94 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" = 94) ORDER BY position 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "PDF"], ["option_type_id", 94], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.522709' WHERE "spree_products"."id" = 159 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 159], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.524215' WHERE "spree_products"."id" = 159  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (529, 175) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 94 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" = 94) ORDER BY position 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, 30 Sep 2012 19:23:51 UTC +00:00], ["name", "PNG"], ["option_type_id", 94], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.529736' WHERE "spree_products"."id" = 159 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 159], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.531152' WHERE "spree_products"."id" = 159  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (176, 530) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 159]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 159) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 528 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 529 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 530 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" != 159) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.551248' WHERE "spree_products"."id" = 159  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 528 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.552469' WHERE "spree_products"."id" = 159 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.554172' WHERE "spree_products"."id" = 159  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 529 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.555801' WHERE "spree_products"."id" = 159 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.558159' WHERE "spree_products"."id" = 159  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 530 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:51.560825' WHERE "spree_products"."id" = 159 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 159) 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" = 527 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" = 527) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 19:23:51 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 527], ["viewable_type", "Spree::Variant"]] 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" != 159) LIMIT 1 Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 527) 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", Sun, 30 Sep 2012 19:23:51 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 527], ["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" != 159) LIMIT 1 Spree::Asset Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 527) 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", Sun, 30 Sep 2012 19:23:52 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 527], ["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" != 159) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.836192', "count_on_hand" = 25 WHERE "spree_products"."id" = 159 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 159 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.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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:52 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.851821' WHERE "spree_products"."id" = 160 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 160], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.853552' WHERE "spree_products"."id" = 160  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 531 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.855800' WHERE "spree_products"."id" = 160  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 160  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:52 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:52 UTC +00:00], ["product_id", nil], ["property_id", 132], ["updated_at", Sun, 30 Sep 2012 19:23:52 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:52.869942', "product_id" = 160 WHERE "spree_product_properties"."id" = 158 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" != 160) 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" = 190 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" = 160 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (339, 160) 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, 30 Sep 2012 19:23:52 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:23:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 192 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 192], ["updated_at", Sun, 30 Sep 2012 19:23:52 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (341, 160) 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, 30 Sep 2012 19:23:52 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:52 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 193 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, 30 Sep 2012 19:23: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", 193], ["updated_at", Sun, 30 Sep 2012 19:23:52 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (342, 160) 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" != 160) 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" = 160 AND "spree_option_types"."id" = 94 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" = 160) 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, 30 Sep 2012 19:23:52 UTC +00:00], ["option_type_id", 94], ["position", 1], ["product_id", 160], ["updated_at", Sun, 30 Sep 2012 19:23:52 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 94 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.911343' WHERE "spree_products"."id" = 160 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 160], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.913168' WHERE "spree_products"."id" = 160  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (532, 174) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 94 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.918682' WHERE "spree_products"."id" = 160 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 160], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.920455' WHERE "spree_products"."id" = 160  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (533, 175) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 94 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.924605' WHERE "spree_products"."id" = 160 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 160], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.926057' WHERE "spree_products"."id" = 160  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (534, 176) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 160]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 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" != 160) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 532 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 534 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" != 160) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 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" = 160 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.951687' WHERE "spree_products"."id" = 160  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 532 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.953870' WHERE "spree_products"."id" = 160 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.956025' WHERE "spree_products"."id" = 160  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 533 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.957221' WHERE "spree_products"."id" = 160 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.958887' WHERE "spree_products"."id" = 160  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 534 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:52.960063' WHERE "spree_products"."id" = 160 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 160) 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" = 531 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 531) 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", Sun, 30 Sep 2012 19:23:52 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 531], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 531) 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", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 531], ["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" != 160) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:55.762860', "count_on_hand" = 11 WHERE "spree_products"."id" = 160 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 160 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 SQLite3::SQLException: no such column: spree_products.sku: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (5.2ms) DELETE FROM "spree_products" SQL (5.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.5ms) 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.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.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 (0.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 43 Row ROWRest of World succesfully SAVED : ID 43 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", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 44 Row UKUnited Kingdom 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 45 Row EUREurope succesfully SAVED : ID 45 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.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 46 Row NANorth America succesfully SAVED : ID 46 Current value to assign : Current value to assign :  (2.8ms) commit transaction  (0.2ms) SELECT COUNT(*) 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 (3.3ms) DELETE FROM "spree_option_types" SQL (4.6ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (3.7ms) 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.1ms) begin transaction  (0.0ms) 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 ROWRest 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", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 47 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.3ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 48 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.1ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:55 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 49 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:56 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 50  (2.7ms) commit transaction  (0.1ms) SELECT COUNT(*) 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.5ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (5.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.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 (2.5ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.7ms) DELETE FROM "spree_taxons" SQL (4.0ms) 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 PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (5.3ms) DELETE FROM "spree_option_values" SQL (3.5ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (3.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: # 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.0ms) 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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.190275' WHERE "spree_products"."id" = 161 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 161], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.193682' WHERE "spree_products"."id" = 161  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 535 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.197234' WHERE "spree_products"."id" = 161  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 161  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 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" = 535 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" != 161) 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", Sun, 30 Sep 2012 19:23:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 161 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 161) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 95], ["position", 1], ["product_id", 161], ["updated_at", Sun, 30 Sep 2012 19:23:56 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" != 161) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.427952', "count_on_hand" = 12 WHERE "spree_products"."id" = 161  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 535 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.430330' WHERE "spree_products"."id" = 161 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 161 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 161 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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.442530' WHERE "spree_products"."id" = 162 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 162], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.445070' WHERE "spree_products"."id" = 162  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 536 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.447545' WHERE "spree_products"."id" = 162  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 162  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 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" = 536 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" != 162) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 162 AND "spree_option_types"."id" = 95 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" = 162) ORDER BY position DESC 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 95], ["position", 1], ["product_id", 162], ["updated_at", Sun, 30 Sep 2012 19:23:56 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" != 162) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.468021', "count_on_hand" = 5 WHERE "spree_products"."id" = 162  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 536 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.469969' WHERE "spree_products"."id" = 162 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 162 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 162 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.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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.479296' WHERE "spree_products"."id" = 163 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 163], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.480840' WHERE "spree_products"."id" = 163  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 537 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.482507' WHERE "spree_products"."id" = 163  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 163  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 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" = 537 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" != 163) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 163 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 163) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 95], ["position", 1], ["product_id", 163], ["updated_at", Sun, 30 Sep 2012 19:23: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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 163 AND "spree_option_types"."id" = 96 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" = 163) ORDER BY position DESC 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 96], ["position", 2], ["product_id", 163], ["updated_at", Sun, 30 Sep 2012 19:23: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" != 163) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.512466', "count_on_hand" = 23 WHERE "spree_products"."id" = 163  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 537 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.514552' WHERE "spree_products"."id" = 163 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 163 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 163 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (101.7ms) 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-09-30 19:23:56.622750')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 19:23:56.624019')  (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" = 161 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" = 161 ORDER BY spree_option_types.position  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 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" = 163 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.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 (2.6ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (4.8ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (4.4ms) 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 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.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.709553' WHERE "spree_products"."id" = 164 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", 164], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.712443' WHERE "spree_products"."id" = 164  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 538 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.714765' WHERE "spree_products"."id" = 164  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 164  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 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" = 538 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" != 164) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:23:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 164 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 164) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 97], ["position", 1], ["product_id", 164], ["updated_at", Sun, 30 Sep 2012 19:23:56 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 164) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.741510', "count_on_hand" = 12 WHERE "spree_products"."id" = 164  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 538 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.745406' WHERE "spree_products"."id" = 164 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 164 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.757289' WHERE "spree_products"."id" = 165 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 165], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.759756' WHERE "spree_products"."id" = 165  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 539 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.762171' WHERE "spree_products"."id" = 165  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 165  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 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" = 539 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" != 165) 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" = 165 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 165) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 97], ["position", 1], ["product_id", 165], ["updated_at", Sun, 30 Sep 2012 19:23:56 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 165) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.780270', "count_on_hand" = 5 WHERE "spree_products"."id" = 165  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 539 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.783394' WHERE "spree_products"."id" = 165 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 165 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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 166 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.795999' WHERE "spree_products"."id" = 166 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 166], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.798446' WHERE "spree_products"."id" = 166  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 540 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.801870' WHERE "spree_products"."id" = 166  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 166 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 166 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 166  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 166 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" = 540 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" != 166) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 166 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 166) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 97], ["position", 1], ["product_id", 166], ["updated_at", Sun, 30 Sep 2012 19:23: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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:56 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 166 AND "spree_option_types"."id" = 98 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 166) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 98], ["position", 2], ["product_id", 166], ["updated_at", Sun, 30 Sep 2012 19:23:56 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 166) LIMIT 1  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.836979', "count_on_hand" = 23 WHERE "spree_products"."id" = 166  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 540 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.839623' WHERE "spree_products"."id" = 166 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 166  (4.6ms) 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-09-30 19:23:56.847581')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 19:23:56.848290')  (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" = 164 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" = 164 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 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" = 166 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (5.0ms) 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 (3.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (4.5ms) 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 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.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", Sun, 30 Sep 2012 20:23:56 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:56 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, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 167 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.953546' WHERE "spree_products"."id" = 167 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 167], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.956957' WHERE "spree_products"."id" = 167  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 541 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.959891' WHERE "spree_products"."id" = 167  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 167 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 167 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 167  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 167 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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:56 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 167 AND "spree_option_types"."id" = 99 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 167) 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, 30 Sep 2012 19:23:56 UTC +00:00], ["option_type_id", 99], ["position", 1], ["product_id", 167], ["updated_at", Sun, 30 Sep 2012 19:23: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" != 167) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 167 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", Sun, 30 Sep 2012 20:23:56 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23:56 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, 30 Sep 2012 19:23:56 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 168 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:56.997527' WHERE "spree_products"."id" = 168 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 168], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.000327' WHERE "spree_products"."id" = 168  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 542 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.004054' WHERE "spree_products"."id" = 168  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 168 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 168 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 168  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 168 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" = 168 AND "spree_option_types"."id" = 99 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 168) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 99], ["position", 1], ["product_id", 168], ["updated_at", Sun, 30 Sep 2012 19:23: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" != 168) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 168 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", Sun, 30 Sep 2012 20:23:56 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 169 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.036662' WHERE "spree_products"."id" = 169 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 169], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.038589' WHERE "spree_products"."id" = 169  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 543 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.041050' WHERE "spree_products"."id" = 169  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 169 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 169 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 169  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 169 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.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" = 169 AND "spree_option_types"."id" = 99 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" = 169) ORDER BY position DESC 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 99], ["position", 1], ["product_id", 169], ["updated_at", Sun, 30 Sep 2012 19:23:57 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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 169 AND "spree_option_types"."id" = 100 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 169) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 100], ["position", 2], ["product_id", 169], ["updated_at", Sun, 30 Sep 2012 19:23:57 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" != 169) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 169 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.2ms) 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" = 167 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.4ms) 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.4ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (2.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: # 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.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, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 170 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.165574' WHERE "spree_products"."id" = 170 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", 170], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.170127' WHERE "spree_products"."id" = 170  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 544 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.174882' WHERE "spree_products"."id" = 170  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 170 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 170 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 170  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 170 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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 170 AND "spree_option_types"."id" = 101 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" = 170) ORDER BY position DESC 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 101], ["position", 1], ["product_id", 170], ["updated_at", Sun, 30 Sep 2012 19:23:57 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" != 170) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 170 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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 171 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.401816' WHERE "spree_products"."id" = 171 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 171], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.403559' WHERE "spree_products"."id" = 171  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 545 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.405348' WHERE "spree_products"."id" = 171  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 171 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 171 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 171  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 171 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" = 171 AND "spree_option_types"."id" = 101 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" = 171) ORDER BY position DESC 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 101], ["position", 1], ["product_id", 171], ["updated_at", Sun, 30 Sep 2012 19:23:57 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" != 171) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 171 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", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 172 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.432147' WHERE "spree_products"."id" = 172 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 172], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.433887' WHERE "spree_products"."id" = 172  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 546 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.435889' WHERE "spree_products"."id" = 172  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 172 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 172 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 172  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 172 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" = 172 AND "spree_option_types"."id" = 101 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" = 172) ORDER BY position DESC 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 101], ["position", 1], ["product_id", 172], ["updated_at", Sun, 30 Sep 2012 19:23:57 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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:57 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" = 172 AND "spree_option_types"."id" = 102 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" = 172) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 102], ["position", 2], ["product_id", 172], ["updated_at", Sun, 30 Sep 2012 19:23:57 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" != 172) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 172 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.2ms) 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" = 170 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (4.9ms) 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 (3.3ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]]  (3.2ms) 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 (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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.559472' WHERE "spree_products"."id" = 173 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 173], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.561322' WHERE "spree_products"."id" = 173  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 547 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.563772' WHERE "spree_products"."id" = 173  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 173  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["product_id", nil], ["property_id", 133], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:57.576788', "product_id" = 173 WHERE "spree_product_properties"."id" = 159 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" != 173) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 194 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, 30 Sep 2012 19:23: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", 194], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 173 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (173, 343) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 195 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, 30 Sep 2012 19:23: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", 195], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (173, 344) 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" != 173) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 173 AND "spree_option_types"."id" = 103 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" = 173) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 103], ["position", 1], ["product_id", 173], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 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" = 103) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 103], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.629873' WHERE "spree_products"."id" = 173 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 173], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.633415' WHERE "spree_products"."id" = 173  (0.3ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (177, 548) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 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" = 103) ORDER BY position 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 103], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.641663' WHERE "spree_products"."id" = 173 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 173], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.643009' WHERE "spree_products"."id" = 173  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (178, 549) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 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" = 103) ORDER BY position 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "PNG"], ["option_type_id", 103], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.650018' WHERE "spree_products"."id" = 173 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 173], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.653839' WHERE "spree_products"."id" = 173  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (179, 550) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 173]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 173) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 549 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 550 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" != 173) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.677678' WHERE "spree_products"."id" = 173  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 548 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.678885' WHERE "spree_products"."id" = 173 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.680258' WHERE "spree_products"."id" = 173  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 549 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.681288' WHERE "spree_products"."id" = 173 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.682851' WHERE "spree_products"."id" = 173  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 550 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.683993' WHERE "spree_products"."id" = 173 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 173) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.687823', "count_on_hand" = 25 WHERE "spree_products"."id" = 173 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 173 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.700464' WHERE "spree_products"."id" = 174 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 174], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.702388' WHERE "spree_products"."id" = 174  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 551 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.704237' WHERE "spree_products"."id" = 174  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 174  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:57 UTC +00:00], ["product_id", nil], ["property_id", 134], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:57.712135', "product_id" = 174 WHERE "spree_product_properties"."id" = 160 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" != 174) 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" = 194 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" = 174 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (343, 174) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 196 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, 30 Sep 2012 19:23: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", 196], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (345, 174) 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" = 194 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" = 194 AND "spree_taxons"."parent_id" = 343 AND "spree_taxons"."name" = 'Nature' 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", 343]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 343], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 194], ["updated_at", Sun, 30 Sep 2012 19:23:57 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", 343]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 346]] 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 = 346 THEN 343 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 343]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 346]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 194 AND "spree_taxons"."parent_id" = 346 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", 346]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 346], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 194], ["updated_at", Sun, 30 Sep 2012 19:23: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", 346]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 347]] 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 = 347 THEN 346 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 346]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 347]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (346, 174)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (347, 174) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 174) 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" = 174 AND "spree_option_types"."id" = 103 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" = 174) ORDER BY position DESC 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, 30 Sep 2012 19:23:57 UTC +00:00], ["option_type_id", 103], ["position", 1], ["product_id", 174], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.761377' WHERE "spree_products"."id" = 174 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 174], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.762777' WHERE "spree_products"."id" = 174  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (177, 552) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.765987' WHERE "spree_products"."id" = 174 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 174], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.767436' WHERE "spree_products"."id" = 174  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (178, 553) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.771696' WHERE "spree_products"."id" = 174 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 174], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.775110' WHERE "spree_products"."id" = 174  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (179, 554) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 174]] Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 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" != 174) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 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" = 174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 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" = 552 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 553 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" = 554 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" != 174) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.830526' WHERE "spree_products"."id" = 174  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 552 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.841408' WHERE "spree_products"."id" = 174 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.849856' WHERE "spree_products"."id" = 174  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 553 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.853599' WHERE "spree_products"."id" = 174 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.859329' WHERE "spree_products"."id" = 174  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 554 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.862661' WHERE "spree_products"."id" = 174 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" != 174) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.883971', "count_on_hand" = 11 WHERE "spree_products"."id" = 174 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 174 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.909800' WHERE "spree_products"."id" = 175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 175], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.913022' WHERE "spree_products"."id" = 175  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 555 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:57.917174' WHERE "spree_products"."id" = 175  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 175  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["product_id", nil], ["property_id", 135], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:57.928562', "product_id" = 175 WHERE "spree_product_properties"."id" = 161 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, 30 Sep 2012 19:23:57 UTC +00:00], ["product_id", nil], ["property_id", 134], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:57.934528', "product_id" = 175 WHERE "spree_product_properties"."id" = 162 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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["product_id", nil], ["property_id", 136], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:57.942946', "product_id" = 175 WHERE "spree_product_properties"."id" = 163 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" != 175) 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, 30 Sep 2012 19:23:57 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 197 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", Sun, 30 Sep 2012 19:23: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", 197], ["updated_at", Sun, 30 Sep 2012 19:23:57 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" = 175 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (348, 175) 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" = 194 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" = 194 AND "spree_taxons"."parent_id" = 343 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", 343]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 343], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 194], ["updated_at", Sun, 30 Sep 2012 19:23:57 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", 343]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 349]] 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 = 349 THEN 343 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 343]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 349]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (349, 175)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (343, 175) 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" != 175) 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" = 175 AND "spree_option_types"."id" = 103 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" = 175) ORDER BY position DESC 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, 30 Sep 2012 19:23:58 UTC +00:00], ["option_type_id", 103], ["position", 1], ["product_id", 175], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.165125' WHERE "spree_products"."id" = 175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 175], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.168433' WHERE "spree_products"."id" = 175  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (177, 556) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.177496' WHERE "spree_products"."id" = 175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 175], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.181012' WHERE "spree_products"."id" = 175  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (178, 557) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 103 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.187902' WHERE "spree_products"."id" = 175 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 175], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.189611' WHERE "spree_products"."id" = 175  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (558, 179) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 175]] 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:58 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" = 175 AND "spree_option_types"."id" = 104 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 175) ORDER BY position DESC 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, 30 Sep 2012 19:23:58 UTC +00:00], ["option_type_id", 104], ["position", 2], ["product_id", 175], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 104 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" = 104) ORDER BY position 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "black_white"], ["option_type_id", 104], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.209609' WHERE "spree_products"."id" = 175 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 175], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.212710' WHERE "spree_products"."id" = 175  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (180, 559) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 104 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" = 104) ORDER BY position 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "colour"], ["option_type_id", 104], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.220708' WHERE "spree_products"."id" = 175 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 175], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.222404' WHERE "spree_products"."id" = 175  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (181, 560) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 175]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 175) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 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" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 556 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 557 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 558 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 559 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 560 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" != 175) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.251785' WHERE "spree_products"."id" = 175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 556 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.253585' WHERE "spree_products"."id" = 175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.255239' WHERE "spree_products"."id" = 175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 557 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.256531' WHERE "spree_products"."id" = 175 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.261132' WHERE "spree_products"."id" = 175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 558 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.263260' WHERE "spree_products"."id" = 175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.265307' WHERE "spree_products"."id" = 175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 559 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.266612' WHERE "spree_products"."id" = 175 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.268205' WHERE "spree_products"."id" = 175  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 560 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.269457' WHERE "spree_products"."id" = 175 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 175) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.273914', "count_on_hand" = 53 WHERE "spree_products"."id" = 175 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 175 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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" = 173 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" = 175 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" = 175 SQL (4.3ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (4.7ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (3.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.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (3.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 Current value to assign : Demo Product for AR Loader Current 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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.388707' WHERE "spree_products"."id" = 176 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 176], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.390774' WHERE "spree_products"."id" = 176  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 561 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.394052' WHERE "spree_products"."id" = 176  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 176  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 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_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["product_id", nil], ["property_id", 137], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:58.407043', "product_id" = 176 WHERE "spree_product_properties"."id" = 164 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" != 176) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 198 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 198], ["updated_at", Sun, 30 Sep 2012 19:23: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" = 176 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (176, 350) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 176) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 199 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 199], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (176, 351) 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" != 176) 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", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:23:58 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" = 176 AND "spree_option_types"."id" = 105 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 176) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["option_type_id", 105], ["position", 1], ["product_id", 176], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 105 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" = 105) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "jpeg"], ["option_type_id", 105], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.453342' WHERE "spree_products"."id" = 176 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 176], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.455544' WHERE "spree_products"."id" = 176  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (182, 562) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 176]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 176) 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" = 176 AND "spree_option_types"."id" = 105 ORDER 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" = 105 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" = 105) ORDER BY position 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "PDF"], ["option_type_id", 105], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.469597' WHERE "spree_products"."id" = 176 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 176], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.471135' WHERE "spree_products"."id" = 176  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (183, 563) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 176]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 176) 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" = 176 AND "spree_option_types"."id" = 105 ORDER 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" = 105 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" = 105) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "PNG"], ["option_type_id", 105], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.486121' WHERE "spree_products"."id" = 176 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 176], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.487681' WHERE "spree_products"."id" = 176  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (184, 564) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 176]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 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" != 176) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 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" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 562 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 563 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 564 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" != 176) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.512339' WHERE "spree_products"."id" = 176  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 562 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.513521' WHERE "spree_products"."id" = 176 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.515061' WHERE "spree_products"."id" = 176  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 563 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.516283' WHERE "spree_products"."id" = 176 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 176 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.517723' WHERE "spree_products"."id" = 176  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 564 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.518721' WHERE "spree_products"."id" = 176 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 176) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 176 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.522281', "count_on_hand" = 25 WHERE "spree_products"."id" = 176 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 176 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.534049' WHERE "spree_products"."id" = 177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 177], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.535396' WHERE "spree_products"."id" = 177  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 565 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.536992' WHERE "spree_products"."id" = 177  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 177  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:23:58 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, 30 Sep 2012 19:23:58 UTC +00:00], ["product_id", nil], ["property_id", 138], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:58.547972', "product_id" = 177 WHERE "spree_product_properties"."id" = 165 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" != 177) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 198 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" = 177 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (177, 350) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 177) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 200 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, 30 Sep 2012 19:23: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", 200], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (177, 352) 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" != 177) 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" = 198 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" = 198 AND "spree_taxons"."parent_id" = 350 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", 350]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 350], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 198], ["updated_at", Sun, 30 Sep 2012 19:23: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", 350]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 353]] 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 = 353 THEN 350 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 350]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 353]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 198 AND "spree_taxons"."parent_id" = 353 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", 353]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 353], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 198], ["updated_at", Sun, 30 Sep 2012 19:23: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", 353]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 354]] 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 = 354 THEN 353 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 353]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 354]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (177, 353)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (177, 354) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 177) 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" = 177 AND "spree_option_types"."id" = 105 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" = 177) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["option_type_id", 105], ["position", 1], ["product_id", 177], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 105 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.603264' WHERE "spree_products"."id" = 177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 177], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.604754' WHERE "spree_products"."id" = 177  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (566, 182) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 177]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 177) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 177 AND "spree_option_types"."id" = 105 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" = 105 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.621546' WHERE "spree_products"."id" = 177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 177], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.623397' WHERE "spree_products"."id" = 177  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (183, 567) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 177]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 177) 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" = 177 AND "spree_option_types"."id" = 105 ORDER 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" = 105 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 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" = 177 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.814146' WHERE "spree_products"."id" = 177 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 177], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.816653' WHERE "spree_products"."id" = 177  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (184, 568) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 177]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 177) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 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" = 566 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 567 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 568 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" != 177) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.842935' WHERE "spree_products"."id" = 177  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 566 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.844177' WHERE "spree_products"."id" = 177 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.845656' WHERE "spree_products"."id" = 177  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 567 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.847898' WHERE "spree_products"."id" = 177 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 177 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.851635' WHERE "spree_products"."id" = 177  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 568 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.853332' WHERE "spree_products"."id" = 177 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 177) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 177 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.857235', "count_on_hand" = 11 WHERE "spree_products"."id" = 177 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 177 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.867468' WHERE "spree_products"."id" = 178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 178], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.869283' WHERE "spree_products"."id" = 178  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 569 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.871193' WHERE "spree_products"."id" = 178  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 178  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:58 UTC +00:00], ["product_id", nil], ["property_id", 139], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:58.879464', "product_id" = 178 WHERE "spree_product_properties"."id" = 166 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["product_id", nil], ["property_id", 138], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:58.884241', "product_id" = 178 WHERE "spree_product_properties"."id" = 167 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:23: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, 30 Sep 2012 19:23:58 UTC +00:00], ["product_id", nil], ["property_id", 140], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:23:58.889625', "product_id" = 178 WHERE "spree_product_properties"."id" = 168 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 201 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, 30 Sep 2012 19:23: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", 201], ["updated_at", Sun, 30 Sep 2012 19:23:58 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" = 178 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (355, 178) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 198 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" = 198 AND "spree_taxons"."parent_id" = 350 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", 350]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:23: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", 350], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 198], ["updated_at", Sun, 30 Sep 2012 19:23: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", 350]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 356]] 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 = 356 THEN 350 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 350]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 356]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (356, 178)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (350, 178) 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" != 178) 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" = 178 AND "spree_option_types"."id" = 105 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" = 178) ORDER BY position DESC 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, 30 Sep 2012 19:23:58 UTC +00:00], ["option_type_id", 105], ["position", 1], ["product_id", 178], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 105 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.930507' WHERE "spree_products"."id" = 178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 178], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.931886' WHERE "spree_products"."id" = 178  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (182, 570) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 178]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 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" != 178) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_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" = 178 AND "spree_option_types"."id" = 105 ORDER 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" = 105 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.946634' WHERE "spree_products"."id" = 178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 178], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.948759' WHERE "spree_products"."id" = 178  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (183, 571) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) 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" = 178 AND "spree_option_types"."id" = 105 ORDER 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" = 105 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.960600' WHERE "spree_products"."id" = 178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 178], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.962094' WHERE "spree_products"."id" = 178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (572, 184) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) 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", Sun, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:23:58 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" = 178 AND "spree_option_types"."id" = 106 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" = 178) ORDER BY position DESC 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, 30 Sep 2012 19:23:58 UTC +00:00], ["option_type_id", 106], ["position", 2], ["product_id", 178], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 106 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" = 106) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "black_white"], ["option_type_id", 106], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.980430' WHERE "spree_products"."id" = 178 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 178], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.981808' WHERE "spree_products"."id" = 178  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (185, 573) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 178]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) 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.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" = 178 AND "spree_option_types"."id" = 106 ORDER 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" = 106 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" = 106) 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, 30 Sep 2012 19:23:58 UTC +00:00], ["name", "colour"], ["option_type_id", 106], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:23:58 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.995942' WHERE "spree_products"."id" = 178 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 178], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:58.998228' WHERE "spree_products"."id" = 178  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (574, 186) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 178]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 570 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 571 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 572 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 573 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 574 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" != 178) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.024189' WHERE "spree_products"."id" = 178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 570 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.025374' WHERE "spree_products"."id" = 178 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.026762' WHERE "spree_products"."id" = 178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 571 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.027751' WHERE "spree_products"."id" = 178 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.029109' WHERE "spree_products"."id" = 178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 572 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.030095' WHERE "spree_products"."id" = 178 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.031459' WHERE "spree_products"."id" = 178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 573 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.032419' WHERE "spree_products"."id" = 178 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 178 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.033776' WHERE "spree_products"."id" = 178  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 574 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.035256' WHERE "spree_products"."id" = 178 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 178) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 178 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:23:59.039522', "count_on_hand" = 53 WHERE "spree_products"."id" = 178 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 178 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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.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" = 176 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" = 178 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" = 178 SQL (3.4ms) 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 (3.4ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (5.7ms) DELETE FROM "spree_taxonomies" SQL (5.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 (296.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (6.5ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (5.6ms) DELETE FROM "spree_properties" SQL (5.6ms) DELETE FROM "spree_product_properties" SQL (5.1ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (5.7ms) DELETE FROM "spree_taxonomies" SQL (11.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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.4ms) 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 (5.7ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (6.2ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (5.4ms) DELETE FROM "spree_taxonomies" SQL (4.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 (5.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (8.4ms) DELETE FROM "spree_taxons" SQL (5.5ms) DELETE FROM "spree_taxonomies" SQL (2.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: # Booted Spree using version 1.1.3 SQL (9.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.1ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (5.4ms) DELETE FROM "spree_variants" SQL (10.4ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (8.5ms) 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 (2.7ms) DELETE FROM "spree_option_types" SQL (11.4ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (9.9ms) DELETE FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones" SQL (4.4ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.9ms) DELETE FROM "spree_option_types" SQL (4.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (5.4ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (4.1ms) DELETE FROM "spree_option_values" SQL (5.7ms) DELETE FROM "spree_properties" SQL (6.6ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (3.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 (4.2ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.0ms) 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 (4.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.8ms) 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 (3.3ms) DELETE FROM "spree_option_values" SQL (4.6ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) 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 (2.6ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.6ms) DELETE FROM "spree_zones"  (0.4ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Sun, 30 Sep 2012 19:24:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 202 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 202], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:24: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", 202], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (5.0ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 19:24:00.322617', "parent_id" = 357 WHERE "spree_taxons"."id" = 358 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 357]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 358]] 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 = 358 THEN 357 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 357]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 358]]  (3.2ms) commit transaction  (0.3ms) 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" = 357 ORDER BY "lft" SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (3.0ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (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", Sun, 30 Sep 2012 19:24:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 203 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, 30 Sep 2012 19:24: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", 203], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (6.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, 30 Sep 2012 19:24: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", 203], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 19:24:00.430659', "parent_id" = 359 WHERE "spree_taxons"."id" = 360 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 359]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 360]] 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 = 360 THEN 359 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 359]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 360]]  (3.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" = 359 ORDER BY "lft" SQL (4.5ms) 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.6ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (6.1ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 204], ["updated_at", Sun, 30 Sep 2012 19:24:00 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", Sun, 30 Sep 2012 19:24: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", 204], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (4.4ms) commit transaction  (0.1ms) begin transaction  (0.4ms) UPDATE "spree_taxons" SET "updated_at" = '2012-09-30 19:24:00.535215', "parent_id" = 361 WHERE "spree_taxons"."id" = 362 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 361]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 362]] 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 = 362 THEN 361 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 361]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 362]]  (3.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" = 361 ORDER BY "lft" SQL (4.7ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (4.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  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (5.9ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.4ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (4.7ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (4.0ms) 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 (4.2ms) DELETE FROM "spree_option_values" SQL (5.3ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 205 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", Sun, 30 Sep 2012 19:24: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", 205], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (4.1ms) 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", Sun, 30 Sep 2012 19:24: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", 205], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (4.7ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" 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 (2.5ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (7.0ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 206 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, 30 Sep 2012 19:24: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", 206], ["updated_at", Sun, 30 Sep 2012 19:24:00 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.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, 30 Sep 2012 19:24: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", 206], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (3.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.2ms) 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.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (8.0ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 207 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, 30 Sep 2012 19:24: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", 207], ["updated_at", Sun, 30 Sep 2012 19:24:00 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.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, 30 Sep 2012 19:24: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", 207], ["updated_at", Sun, 30 Sep 2012 19:24:00 UTC +00:00]]  (4.5ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.4ms) 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.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (8.4ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24:01 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:01 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 208 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, 30 Sep 2012 19:24: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", 208], ["updated_at", Sun, 30 Sep 2012 19:24:01 UTC +00:00]]  (5.1ms) 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", Sun, 30 Sep 2012 19:24: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", 208], ["updated_at", Sun, 30 Sep 2012 19:24:01 UTC +00:00]]  (5.5ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (57.1ms) 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 (3.5ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (4.8ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.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 (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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.048675' WHERE "spree_products"."id" = 179 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", 179], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.052224' WHERE "spree_products"."id" = 179  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 575 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.055247' WHERE "spree_products"."id" = 179  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 179  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:40 UTC +00:00], ["product_id", nil], ["property_id", 141], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:40.087678', "product_id" = 179 WHERE "spree_product_properties"."id" = 169 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" != 179) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 209 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", Sun, 30 Sep 2012 19:24: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", 209], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 179 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (371, 179) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 210 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 210], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (372, 179) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 179) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 179 AND "spree_option_types"."id" = 107 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" = 179) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["option_type_id", 107], ["position", 1], ["product_id", 179], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 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" = 107) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "jpeg"], ["option_type_id", 107], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.182036' WHERE "spree_products"."id" = 179 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 179], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.185096' WHERE "spree_products"."id" = 179  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (576, 187) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 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" = 107) ORDER BY position 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "PDF"], ["option_type_id", 107], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.195475' WHERE "spree_products"."id" = 179 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 179], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.197066' WHERE "spree_products"."id" = 179  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (188, 577) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 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" = 107) ORDER BY position 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "PNG"], ["option_type_id", 107], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.203350' WHERE "spree_products"."id" = 179 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 179], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.205179' WHERE "spree_products"."id" = 179  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (578, 189) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 179]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 179) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 576 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 577 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 578 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" != 179) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.245504' WHERE "spree_products"."id" = 179  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 576 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.246871' WHERE "spree_products"."id" = 179 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.248614' WHERE "spree_products"."id" = 179  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 577 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.249707' WHERE "spree_products"."id" = 179 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.251083' WHERE "spree_products"."id" = 179  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 578 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.252114' WHERE "spree_products"."id" = 179 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 179) 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" = 575 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 575) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 575], ["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" != 179) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 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-09-30 19:24:40.878912' WHERE "spree_products"."id" = 179 Current 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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.901084' WHERE "spree_products"."id" = 180 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 180], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.904366' WHERE "spree_products"."id" = 180  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 579 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.909144' WHERE "spree_products"."id" = 180  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 180  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:40 UTC +00:00], ["product_id", nil], ["property_id", 142], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:40.923927', "product_id" = 180 WHERE "spree_product_properties"."id" = 170 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" != 180) 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" = 209 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" = 180 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (371, 180) 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", Sun, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 211 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, 30 Sep 2012 19:24: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", 211], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (373, 180) 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, 30 Sep 2012 19:24:40 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 212 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, 30 Sep 2012 19:24: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", 212], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (374, 180) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 180) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 180 AND "spree_option_types"."id" = 107 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" = 180) ORDER BY position DESC 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, 30 Sep 2012 19:24:40 UTC +00:00], ["option_type_id", 107], ["position", 1], ["product_id", 180], ["updated_at", Sun, 30 Sep 2012 19:24:40 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.969961' WHERE "spree_products"."id" = 180 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 180], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.971482' WHERE "spree_products"."id" = 180  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (580, 187) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.978300' WHERE "spree_products"."id" = 180 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 180], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.980155' WHERE "spree_products"."id" = 180  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (188, 581) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.984171' WHERE "spree_products"."id" = 180 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 180], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:40.985746' WHERE "spree_products"."id" = 180  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (582, 189) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 180]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 180) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 580 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 581 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 582 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" != 180) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:41.006370' WHERE "spree_products"."id" = 180  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 580 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:41.007828' WHERE "spree_products"."id" = 180 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:41.010495' WHERE "spree_products"."id" = 180  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 581 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:41.012026' WHERE "spree_products"."id" = 180 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:41.014005' WHERE "spree_products"."id" = 180  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 582 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:41.015322' WHERE "spree_products"."id" = 180 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" != 180) 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" = 579 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" = 579) 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", Sun, 30 Sep 2012 19:24:41 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 579], ["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" != 180) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 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-09-30 19:24:42.977734' WHERE "spree_products"."id" = 180 Current value 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", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:42 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:42.994461' WHERE "spree_products"."id" = 181 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 181], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:42.997420' WHERE "spree_products"."id" = 181  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 583 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.000253' WHERE "spree_products"."id" = 181  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 181  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 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", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["product_id", nil], ["property_id", 143], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:43.013711', "product_id" = 181 WHERE "spree_product_properties"."id" = 171 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", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["product_id", nil], ["property_id", 142], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:43.022657', "product_id" = 181 WHERE "spree_product_properties"."id" = 172 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, 30 Sep 2012 19:24:43 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["product_id", nil], ["property_id", 144], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:43.027559', "product_id" = 181 WHERE "spree_product_properties"."id" = 173 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 181) 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, 30 Sep 2012 19:24:43 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 213 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 213], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 181 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (375, 181) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 181) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 181 AND "spree_option_types"."id" = 107 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" = 181) ORDER BY position DESC 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, 30 Sep 2012 19:24:43 UTC +00:00], ["option_type_id", 107], ["position", 1], ["product_id", 181], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.053393' WHERE "spree_products"."id" = 181 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 181], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.054903' WHERE "spree_products"."id" = 181  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (187, 584) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.058849' WHERE "spree_products"."id" = 181 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 181], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.061543' WHERE "spree_products"."id" = 181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (585, 188) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 107 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.275530' WHERE "spree_products"."id" = 181 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 181], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.278115' WHERE "spree_products"."id" = 181  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (586, 189) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 181]] 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, 30 Sep 2012 19:24:43 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:24:43 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" = 181 AND "spree_option_types"."id" = 108 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" = 181) ORDER BY position DESC 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, 30 Sep 2012 19:24:43 UTC +00:00], ["option_type_id", 108], ["position", 2], ["product_id", 181], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 108 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" = 108) 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, 30 Sep 2012 19:24:43 UTC +00:00], ["name", "black_white"], ["option_type_id", 108], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.301245' WHERE "spree_products"."id" = 181 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 181], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.302745' WHERE "spree_products"."id" = 181  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (190, 587) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 108 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" = 108) ORDER BY position 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, 30 Sep 2012 19:24:43 UTC +00:00], ["name", "colour"], ["option_type_id", 108], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:43 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.309347' WHERE "spree_products"."id" = 181 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 181], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.311167' WHERE "spree_products"."id" = 181  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (191, 588) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 181]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 181) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 584 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 585 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 586 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 587 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 588 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" != 181) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.342794' WHERE "spree_products"."id" = 181  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 584 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.344255' WHERE "spree_products"."id" = 181 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.346092' WHERE "spree_products"."id" = 181  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 585 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.347246' WHERE "spree_products"."id" = 181 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.348727' WHERE "spree_products"."id" = 181  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 586 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.350507' WHERE "spree_products"."id" = 181 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.352484' WHERE "spree_products"."id" = 181  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 587 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.354250' WHERE "spree_products"."id" = 181 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.356531' WHERE "spree_products"."id" = 181  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 588 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:43.358328' WHERE "spree_products"."id" = 181 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 181) 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" = 583 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (1.1ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 583) 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", Sun, 30 Sep 2012 19:24:43 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 583], ["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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 181) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 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-09-30 19:24:43.769784' WHERE "spree_products"."id" = 181  (7.8ms) 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" = 179 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 = 575) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 179)) Spree::Image Load (0.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 575 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" = 179 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 = 575) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 179)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 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 = 579) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 180)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 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 = 583) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 181))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_products" SQL (5.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.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: # 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, 30 Sep 2012 19:24:44 UTC +00:00], ["deleted_at", nil], ["description", "blah blah"], ["meta_description", nil], ["meta_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, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.027130' WHERE "spree_products"."id" = 182 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 182], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.029142' WHERE "spree_products"."id" = 182  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 589 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.031042' WHERE "spree_products"."id" = 182  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 182  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:24:44 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, 30 Sep 2012 19:24:44 UTC +00:00], ["product_id", nil], ["property_id", 145], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:44.041948', "product_id" = 182 WHERE "spree_product_properties"."id" = 174 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" != 182) 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 214 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, 30 Sep 2012 19:24: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", 214], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 182 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (376, 182) 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 215 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, 30 Sep 2012 19:24: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", 215], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (377, 182) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 182) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:24:44 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" = 182 AND "spree_option_types"."id" = 109 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" = 182) ORDER BY position DESC 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, 30 Sep 2012 19:24:44 UTC +00:00], ["option_type_id", 109], ["position", 1], ["product_id", 182], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 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" = 109) ORDER BY position 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "jpeg"], ["option_type_id", 109], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.082830' WHERE "spree_products"."id" = 182 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 182], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.084792' WHERE "spree_products"."id" = 182  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (590, 192) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 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" = 109) ORDER BY position 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "PDF"], ["option_type_id", 109], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.091809' WHERE "spree_products"."id" = 182 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 182], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.093371' WHERE "spree_products"."id" = 182  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (591, 193) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 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" = 109) ORDER BY position 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "PNG"], ["option_type_id", 109], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.102628' WHERE "spree_products"."id" = 182 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 182], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.104271' WHERE "spree_products"."id" = 182  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (592, 194) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 182]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 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" != 182) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 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" = 182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 590 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 591 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 592 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" != 182) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.128659' WHERE "spree_products"."id" = 182  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 590 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.130897' WHERE "spree_products"."id" = 182 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.134388' WHERE "spree_products"."id" = 182  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 591 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.341599' WHERE "spree_products"."id" = 182 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.343664' WHERE "spree_products"."id" = 182  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 592 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.344896' WHERE "spree_products"."id" = 182 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 182) 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" = 589 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 589) 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", Sun, 30 Sep 2012 19:24:44 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 589], ["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" != 182) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 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-09-30 19:24:44.822328' WHERE "spree_products"."id" = 182 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 182 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.843360' WHERE "spree_products"."id" = 183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 183], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.845550' WHERE "spree_products"."id" = 183  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 593 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.847972' WHERE "spree_products"."id" = 183  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 183  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 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", Sun, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:44 UTC +00:00], ["product_id", nil], ["property_id", 146], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:44.865701', "product_id" = 183 WHERE "spree_product_properties"."id" = 175 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" != 183) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 214 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" = 183 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (183, 376) 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 216 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 216], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (183, 378) 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, 30 Sep 2012 19:24:44 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 217 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 217], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (183, 379) 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" != 183) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 183 AND "spree_option_types"."id" = 109 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 183) ORDER BY position DESC 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, 30 Sep 2012 19:24:44 UTC +00:00], ["option_type_id", 109], ["position", 1], ["product_id", 183], ["updated_at", Sun, 30 Sep 2012 19:24:44 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.910281' WHERE "spree_products"."id" = 183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 183], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.912305' WHERE "spree_products"."id" = 183  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (594, 192) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.918453' WHERE "spree_products"."id" = 183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 183], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.920559' WHERE "spree_products"."id" = 183  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (595, 193) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.924777' WHERE "spree_products"."id" = 183 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 183], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.926286' WHERE "spree_products"."id" = 183  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (194, 596) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 183]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 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" != 183) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 594 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 595 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 596 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" != 183) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.949404' WHERE "spree_products"."id" = 183  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 594 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.951501' WHERE "spree_products"."id" = 183 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.953623' WHERE "spree_products"."id" = 183  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 595 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.955005' WHERE "spree_products"."id" = 183 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.956730' WHERE "spree_products"."id" = 183  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 596 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:44.957854' WHERE "spree_products"."id" = 183 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 183) 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" = 593 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 593) 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", Sun, 30 Sep 2012 19:24:44 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 593], ["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" != 183) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 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-09-30 19:24:46.957499' WHERE "spree_products"."id" = 183 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 183 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:46 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:46.971808' WHERE "spree_products"."id" = 184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 184], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:46.973607' WHERE "spree_products"."id" = 184  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 597 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:46.977975' WHERE "spree_products"."id" = 184  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 184  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:46 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:46 UTC +00:00], ["product_id", nil], ["property_id", 147], ["updated_at", Sun, 30 Sep 2012 19:24:46 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:46.990453', "product_id" = 184 WHERE "spree_product_properties"."id" = 176 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", Sun, 30 Sep 2012 19:24:46 UTC +00:00], ["product_id", nil], ["property_id", 146], ["updated_at", Sun, 30 Sep 2012 19:24:46 UTC +00:00], ["value", "Example free value"]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:46.996968', "product_id" = 184 WHERE "spree_product_properties"."id" = 177 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, 30 Sep 2012 19:24:47 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:47 UTC +00:00], ["product_id", nil], ["property_id", 148], ["updated_at", Sun, 30 Sep 2012 19:24:47 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:47.004289', "product_id" = 184 WHERE "spree_product_properties"."id" = 178 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 184) 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", Sun, 30 Sep 2012 19:24:47 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:24:47 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 218 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, 30 Sep 2012 19:24: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", 218], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 184 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (184, 380) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 184) 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" = 184 AND "spree_option_types"."id" = 109 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" = 184) 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, 30 Sep 2012 19:24:47 UTC +00:00], ["option_type_id", 109], ["position", 1], ["product_id", 184], ["updated_at", Sun, 30 Sep 2012 19:24:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.032319' WHERE "spree_products"."id" = 184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 184], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.034382' WHERE "spree_products"."id" = 184  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (598, 192) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.038410' WHERE "spree_products"."id" = 184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 184], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.039983' WHERE "spree_products"."id" = 184  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (193, 599) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 109 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.045005' WHERE "spree_products"."id" = 184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 184], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.046825' WHERE "spree_products"."id" = 184  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (194, 600) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 184]] 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, 30 Sep 2012 19:24:47 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:24:47 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" = 184 AND "spree_option_types"."id" = 110 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" = 184) ORDER BY position DESC 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, 30 Sep 2012 19:24:47 UTC +00:00], ["option_type_id", 110], ["position", 2], ["product_id", 184], ["updated_at", Sun, 30 Sep 2012 19:24:47 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 110 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" = 110) 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, 30 Sep 2012 19:24:47 UTC +00:00], ["name", "black_white"], ["option_type_id", 110], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:47 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.302481' WHERE "spree_products"."id" = 184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 184], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.304170' WHERE "spree_products"."id" = 184  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (601, 195) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 110 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" = 110) ORDER BY position 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, 30 Sep 2012 19:24:47 UTC +00:00], ["name", "colour"], ["option_type_id", 110], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:47 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.311992' WHERE "spree_products"."id" = 184 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 184], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.313883' WHERE "spree_products"."id" = 184  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (196, 602) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 184]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 184) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 598 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 599 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 600 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 601 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 602 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" != 184) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 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" = 184 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.339757' WHERE "spree_products"."id" = 184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 598 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.341872' WHERE "spree_products"."id" = 184 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.343891' WHERE "spree_products"."id" = 184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 599 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.345271' WHERE "spree_products"."id" = 184 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.347004' WHERE "spree_products"."id" = 184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 600 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.348160' WHERE "spree_products"."id" = 184 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.349665' WHERE "spree_products"."id" = 184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 601 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.350760' WHERE "spree_products"."id" = 184 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.352264' WHERE "spree_products"."id" = 184  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 602 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:47.353299' WHERE "spree_products"."id" = 184 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 184) 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" = 597 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 597) 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", Sun, 30 Sep 2012 19:24:47 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 597], ["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-third-row-in-future' AND "spree_products"."id" != 184) LIMIT 1  (1.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 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-09-30 19:24:47.917523' WHERE "spree_products"."id" = 184 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 184 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.5ms) 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" = 182 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 = 589) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 182)) 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" = 182 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 = 589) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 182)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 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 = 593) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 183)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 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 = 597) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 184))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_products" SQL (3.6ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (5.4ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.9ms) 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.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.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, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.060489' WHERE "spree_products"."id" = 185 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 185], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.062359' WHERE "spree_products"."id" = 185  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 603 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.065476' WHERE "spree_products"."id" = 185  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 185  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["product_id", nil], ["property_id", 149], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:48.083552', "product_id" = 185 WHERE "spree_product_properties"."id" = 179 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" != 185) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 219 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 219], ["updated_at", Sun, 30 Sep 2012 19:24:48 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" = 185 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (381, 185) 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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 220 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, 30 Sep 2012 19:24: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", 220], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (382, 185) 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" != 185) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 185 AND "spree_option_types"."id" = 111 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" = 185) ORDER BY position DESC 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, 30 Sep 2012 19:24:48 UTC +00:00], ["option_type_id", 111], ["position", 1], ["product_id", 185], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 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" = 111) ORDER BY position 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 111], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.128999' WHERE "spree_products"."id" = 185 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 185], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.131188' WHERE "spree_products"."id" = 185  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (197, 604) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 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" = 111) ORDER BY position 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 111], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.137484' WHERE "spree_products"."id" = 185 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 185], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.138941' WHERE "spree_products"."id" = 185  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (605, 198) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 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" = 111) ORDER BY position 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "PNG"], ["option_type_id", 111], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.144554' WHERE "spree_products"."id" = 185 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 185], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.146074' WHERE "spree_products"."id" = 185  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (199, 606) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 185]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 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" != 185) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 604 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 605 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 606 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" != 185) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.174859' WHERE "spree_products"."id" = 185  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 604 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.176691' WHERE "spree_products"."id" = 185 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.178774' WHERE "spree_products"."id" = 185  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 605 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.180322' WHERE "spree_products"."id" = 185 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.182070' WHERE "spree_products"."id" = 185  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 606 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.183303' WHERE "spree_products"."id" = 185 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 185) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 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-09-30 19:24:48.187306' WHERE "spree_products"."id" = 185 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 185 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.197018' WHERE "spree_products"."id" = 186 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 186], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.198703' WHERE "spree_products"."id" = 186  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 607 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.201882' WHERE "spree_products"."id" = 186  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 186  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:48 UTC +00:00], ["product_id", nil], ["property_id", 150], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:48.213466', "product_id" = 186 WHERE "spree_product_properties"."id" = 180 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" != 186) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 219 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" = 186 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (381, 186) 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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 221 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, 30 Sep 2012 19:24: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 221], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (383, 186) 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" = 219 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" = 219 AND "spree_taxons"."parent_id" = 381 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", 381]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 381], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 219], ["updated_at", Sun, 30 Sep 2012 19:24: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", 381]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 384]] 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 = 384 THEN 381 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 381]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 384]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 219 AND "spree_taxons"."parent_id" = 384 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", 384]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 384], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 219], ["updated_at", Sun, 30 Sep 2012 19:24: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", 384]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 385]] 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 = 385 THEN 384 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 384]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 385]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (384, 186)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (385, 186) 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" != 186) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 186 AND "spree_option_types"."id" = 111 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" = 186) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["option_type_id", 111], ["position", 1], ["product_id", 186], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.269337' WHERE "spree_products"."id" = 186 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 186], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.270950' WHERE "spree_products"."id" = 186  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (608, 197) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.274700' WHERE "spree_products"."id" = 186 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 186], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.276754' WHERE "spree_products"."id" = 186  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (198, 609) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.283521' WHERE "spree_products"."id" = 186 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 186], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.285626' WHERE "spree_products"."id" = 186  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (199, 610) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 186]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 186) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 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" = 186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 608 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 609 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 610 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" != 186) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.307033' WHERE "spree_products"."id" = 186  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 608 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.308348' WHERE "spree_products"."id" = 186 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.309897' WHERE "spree_products"."id" = 186  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 609 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.311146' WHERE "spree_products"."id" = 186 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.313622' WHERE "spree_products"."id" = 186  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 610 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.315212' WHERE "spree_products"."id" = 186 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 186) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 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-09-30 19:24:48.318955' WHERE "spree_products"."id" = 186 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 186 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.543129' WHERE "spree_products"."id" = 187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 187], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.545010' WHERE "spree_products"."id" = 187  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 611 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.547174' WHERE "spree_products"."id" = 187  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 187  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:48 UTC +00:00], ["product_id", nil], ["property_id", 151], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:48.556894', "product_id" = 187 WHERE "spree_product_properties"."id" = 181 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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["product_id", nil], ["property_id", 150], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:48.562648', "product_id" = 187 WHERE "spree_product_properties"."id" = 182 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:24: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, 30 Sep 2012 19:24:48 UTC +00:00], ["product_id", nil], ["property_id", 152], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:48.569079', "product_id" = 187 WHERE "spree_product_properties"."id" = 183 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 187) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 222 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, 30 Sep 2012 19:24: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", 222], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 187 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (187, 386) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 219 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" = 219 AND "spree_taxons"."parent_id" = 381 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", 381]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 381], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 219], ["updated_at", Sun, 30 Sep 2012 19:24: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", 381]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 387]] 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 = 387 THEN 381 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 381]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 387]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (187, 387)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (187, 381) 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" != 187) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 187 AND "spree_option_types"."id" = 111 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 187) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["option_type_id", 111], ["position", 1], ["product_id", 187], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.613882' WHERE "spree_products"."id" = 187 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 187], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.616775' WHERE "spree_products"."id" = 187  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (197, 612) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.625235' WHERE "spree_products"."id" = 187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 187], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.627562' WHERE "spree_products"."id" = 187  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (198, 613) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 111 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.633011' WHERE "spree_products"."id" = 187 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 187], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.634943' WHERE "spree_products"."id" = 187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (614, 199) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 187]] 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 187 AND "spree_option_types"."id" = 112 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" = 187) ORDER BY position DESC 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, 30 Sep 2012 19:24:48 UTC +00:00], ["option_type_id", 112], ["position", 2], ["product_id", 187], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 112 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" = 112) ORDER BY position 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "black_white"], ["option_type_id", 112], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.654690' WHERE "spree_products"."id" = 187 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 187], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.656654' WHERE "spree_products"."id" = 187  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (200, 615) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 112 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" = 112) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "colour"], ["option_type_id", 112], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.667975' WHERE "spree_products"."id" = 187 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 187], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.670419' WHERE "spree_products"."id" = 187  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (616, 201) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 187]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 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" != 187) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 612 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 614 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 615 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 616 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" != 187) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.698999' WHERE "spree_products"."id" = 187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 612 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.700438' WHERE "spree_products"."id" = 187 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.701938' WHERE "spree_products"."id" = 187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 613 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.702955' WHERE "spree_products"."id" = 187 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.705125' WHERE "spree_products"."id" = 187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 614 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.706692' WHERE "spree_products"."id" = 187 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.708647' WHERE "spree_products"."id" = 187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 615 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.710402' WHERE "spree_products"."id" = 187 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.712398' WHERE "spree_products"."id" = 187  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 616 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.713529' WHERE "spree_products"."id" = 187 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 187) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 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-09-30 19:24:48.717019' WHERE "spree_products"."id" = 187 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 187 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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" = 187 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 = 611) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 187)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 187]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 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 = 611) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 187)) SQL (2.6ms) DELETE FROM "spree_products" SQL (0.1ms) 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.7ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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.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, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.831812' WHERE "spree_products"."id" = 188 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 188], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.834967' WHERE "spree_products"."id" = 188  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 617 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.838591' WHERE "spree_products"."id" = 188  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 188  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["product_id", nil], ["property_id", 153], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:48.853673', "product_id" = 188 WHERE "spree_product_properties"."id" = 184 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" != 188) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 223 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 223], ["updated_at", Sun, 30 Sep 2012 19:24: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" = 188 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (388, 188) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 224 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 224], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (389, 188) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 188) 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", Sun, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:24:48 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" = 188 AND "spree_option_types"."id" = 113 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" = 188) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["option_type_id", 113], ["position", 1], ["product_id", 188], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 113 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" = 113) ORDER BY position 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "jpeg"], ["option_type_id", 113], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.888280' WHERE "spree_products"."id" = 188 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 188], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.889773' WHERE "spree_products"."id" = 188  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (202, 618) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 113 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" = 113) ORDER BY position 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "PDF"], ["option_type_id", 113], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.895098' WHERE "spree_products"."id" = 188 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 188], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.896484' WHERE "spree_products"."id" = 188  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (619, 203) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 113 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" = 113) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["name", "PNG"], ["option_type_id", 113], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:24:48 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.906908' WHERE "spree_products"."id" = 188 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 188], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.909976' WHERE "spree_products"."id" = 188  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (204, 620) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 188]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 188) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 618 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 619 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 620 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" != 188) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.930859' WHERE "spree_products"."id" = 188  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 618 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.932082' WHERE "spree_products"."id" = 188 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.933520' WHERE "spree_products"."id" = 188  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 619 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.934583' WHERE "spree_products"."id" = 188 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.936195' WHERE "spree_products"."id" = 188  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 620 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:48.938911' WHERE "spree_products"."id" = 188 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 188) 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" = 617 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" = 617) 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, 30 Sep 2012 19:24:48 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 617], ["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" != 188) LIMIT 1 Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 617) 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", Sun, 30 Sep 2012 19:24:49 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 617], ["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" != 188) LIMIT 1 Spree::Asset Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 617) 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", Sun, 30 Sep 2012 19:24:50 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 617], ["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" != 188) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 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-09-30 19:24:50.515633' WHERE "spree_products"."id" = 188 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 188 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", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:50 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.533123' WHERE "spree_products"."id" = 189 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", 189], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.537637' WHERE "spree_products"."id" = 189  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 621 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.540851' WHERE "spree_products"."id" = 189  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 189  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:24:50 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:24: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", Sun, 30 Sep 2012 19:24:50 UTC +00:00], ["product_id", nil], ["property_id", 154], ["updated_at", Sun, 30 Sep 2012 19:24:50 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:24:50.557949', "product_id" = 189 WHERE "spree_product_properties"."id" = 185 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" != 189) 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" = 223 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" = 189 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (189, 388) 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", Sun, 30 Sep 2012 19:24:50 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:24:50 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 225 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 225], ["updated_at", Sun, 30 Sep 2012 19:24:50 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (189, 390) 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, 30 Sep 2012 19:24:50 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:24:50 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 226 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:24: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", 226], ["updated_at", Sun, 30 Sep 2012 19:24:50 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (189, 391) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 189) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_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" = 189 AND "spree_option_types"."id" = 113 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 189) 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, 30 Sep 2012 19:24:50 UTC +00:00], ["option_type_id", 113], ["position", 1], ["product_id", 189], ["updated_at", Sun, 30 Sep 2012 19:24:50 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 113 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.603923' WHERE "spree_products"."id" = 189 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 189], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.606018' WHERE "spree_products"."id" = 189  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (202, 622) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 113 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.612116' WHERE "spree_products"."id" = 189 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 189], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.614703' WHERE "spree_products"."id" = 189  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (623, 203) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 113 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.621951' WHERE "spree_products"."id" = 189 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 189], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.624151' WHERE "spree_products"."id" = 189  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (204, 624) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 189]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 189) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 622 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 623 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 624 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" != 189) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.643690' WHERE "spree_products"."id" = 189  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 622 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.645047' WHERE "spree_products"."id" = 189 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.646794' WHERE "spree_products"."id" = 189  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 623 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.648049' WHERE "spree_products"."id" = 189 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.649787' WHERE "spree_products"."id" = 189  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 624 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:24:50.650960' WHERE "spree_products"."id" = 189 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" != 189) 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" = 621 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" = 621) 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", Sun, 30 Sep 2012 19:24:50 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 621], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 621) 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, 30 Sep 2012 19:24:52 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 621], ["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" != 189) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 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-09-30 19:24:53.019885' WHERE "spree_products"."id" = 189 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 189 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (58.9ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (6.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 227 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, 30 Sep 2012 19:25: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", 227], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:25:11 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", 227], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (5.1ms) 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", Sun, 30 Sep 2012 19:25:11 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", 227], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.7ms) commit transaction Spree::Taxon Load (0.2ms) 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 (4.2ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 228 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", Sun, 30 Sep 2012 19:25: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", 228], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:25:11 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", 228], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (3.9ms) 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", Sun, 30 Sep 2012 19:25:11 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", 228], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (3.7ms) 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" = 228 LIMIT 1 Spree::Taxonomy Load (0.2ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 228 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 228 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 229 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, 30 Sep 2012 19:25: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", 229], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:25: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", 229], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.9ms) 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", Sun, 30 Sep 2012 19:25: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", 229], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.9ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (2.8ms) 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 (4.5ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 230 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 230], ["updated_at", Sun, 30 Sep 2012 19:25:11 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 230], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.4ms) 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", Sun, 30 Sep 2012 19:25: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", 230], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.3ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (4.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 231 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, 30 Sep 2012 19:25: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", 231], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (4.2ms) 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", Sun, 30 Sep 2012 19:25: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", 231], ["updated_at", Sun, 30 Sep 2012 19:25:11 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 231], ["updated_at", Sun, 30 Sep 2012 19:25:11 UTC +00:00]]  (3.7ms) 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.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.4ms) DELETE FROM "spree_option_types" SQL (4.3ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (4.0ms) 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.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.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", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.148658' WHERE "spree_products"."id" = 190 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", 190], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.151560' WHERE "spree_products"."id" = 190  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 625 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.156400' WHERE "spree_products"."id" = 190  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 190  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:12 UTC +00:00], ["product_id", nil], ["property_id", 155], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:12.195101', "product_id" = 190 WHERE "spree_product_properties"."id" = 186 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" != 190) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 232 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, 30 Sep 2012 19:25: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", 232], ["updated_at", Sun, 30 Sep 2012 19:25:12 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" = 190 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (407, 190) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 233 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, 30 Sep 2012 19:25: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", 233], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (408, 190) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 190) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:12 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" = 190 AND "spree_option_types"."id" = 114 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" = 190) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["option_type_id", 114], ["position", 1], ["product_id", 190], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 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" = 114) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 114], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.270805' WHERE "spree_products"."id" = 190 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 190], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.272913' WHERE "spree_products"."id" = 190  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (205, 626) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 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" = 114) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 114], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.284858' WHERE "spree_products"."id" = 190 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 190], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.286431' WHERE "spree_products"."id" = 190  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (206, 627) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 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" = 114) ORDER BY position 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, 30 Sep 2012 19:25:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 114], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.292269' WHERE "spree_products"."id" = 190 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 190], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.293723' WHERE "spree_products"."id" = 190  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (628, 207) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 190]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 190) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 626 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 627 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 628 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" != 190) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.334670' WHERE "spree_products"."id" = 190  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 626 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.337448' WHERE "spree_products"."id" = 190 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.339809' WHERE "spree_products"."id" = 190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 627 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.341066' WHERE "spree_products"."id" = 190 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.342403' WHERE "spree_products"."id" = 190  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 628 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.343382' WHERE "spree_products"."id" = 190 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 190) 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" = 625 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" = 625) 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, 30 Sep 2012 19:25:12 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 625], ["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.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 190) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:12.983930', "count_on_hand" = 25 WHERE "spree_products"."id" = 190 Current 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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:12 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.002902' WHERE "spree_products"."id" = 191 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 191], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.005408' WHERE "spree_products"."id" = 191  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 629 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.007629' WHERE "spree_products"."id" = 191  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 191  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 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", Sun, 30 Sep 2012 19:25:13 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:25:13 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, 30 Sep 2012 19:25:13 UTC +00:00], ["product_id", nil], ["property_id", 156], ["updated_at", Sun, 30 Sep 2012 19:25:13 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:13.028916', "product_id" = 191 WHERE "spree_product_properties"."id" = 187 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" != 191) 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" = 232 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" = 191 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (191, 407) 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, 30 Sep 2012 19:25:13 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:25:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 234 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, 30 Sep 2012 19:25: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 234], ["updated_at", Sun, 30 Sep 2012 19:25:13 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (191, 409) 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, 30 Sep 2012 19:25:13 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:25:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 235 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, 30 Sep 2012 19:25: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", 235], ["updated_at", Sun, 30 Sep 2012 19:25:13 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (191, 410) 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" != 191) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 191 AND "spree_option_types"."id" = 114 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 191) 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, 30 Sep 2012 19:25:13 UTC +00:00], ["option_type_id", 114], ["position", 1], ["product_id", 191], ["updated_at", Sun, 30 Sep 2012 19:25:13 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.078032' WHERE "spree_products"."id" = 191 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 191], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.080299' WHERE "spree_products"."id" = 191  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (205, 630) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.086792' WHERE "spree_products"."id" = 191 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 191], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.089053' WHERE "spree_products"."id" = 191  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (631, 206) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.094938' WHERE "spree_products"."id" = 191 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 191], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.098149' WHERE "spree_products"."id" = 191  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (632, 207) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 191]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 191) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 630 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 631 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" = 632 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" != 191) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.126352' WHERE "spree_products"."id" = 191  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 630 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.128254' WHERE "spree_products"."id" = 191 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.130619' WHERE "spree_products"."id" = 191  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 631 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.132827' WHERE "spree_products"."id" = 191 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.136287' WHERE "spree_products"."id" = 191  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 632 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:13.138765' WHERE "spree_products"."id" = 191 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" != 191) 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" = 629 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 629) 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", Sun, 30 Sep 2012 19:25:13 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 629], ["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" != 191) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.128549', "count_on_hand" = 11 WHERE "spree_products"."id" = 191 Current value 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", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.147940' WHERE "spree_products"."id" = 192 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 192], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.150230' WHERE "spree_products"."id" = 192  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 633 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.152279' WHERE "spree_products"."id" = 192  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 192  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["product_id", nil], ["property_id", 157], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:15.167264', "product_id" = 192 WHERE "spree_product_properties"."id" = 188 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.4ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["product_id", nil], ["property_id", 156], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:15.175882', "product_id" = 192 WHERE "spree_product_properties"."id" = 189 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", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["product_id", nil], ["property_id", 158], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:15.185688', "product_id" = 192 WHERE "spree_product_properties"."id" = 190 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 192) 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, 30 Sep 2012 19:25:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 236 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 236], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 192 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (411, 192) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 192) 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" = 192 AND "spree_option_types"."id" = 114 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" = 192) ORDER BY position DESC 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, 30 Sep 2012 19:25:15 UTC +00:00], ["option_type_id", 114], ["position", 1], ["product_id", 192], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.210808' WHERE "spree_products"."id" = 192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 192], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.212516' WHERE "spree_products"."id" = 192  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (634, 205) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.220166' WHERE "spree_products"."id" = 192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 192], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.221842' WHERE "spree_products"."id" = 192  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (206, 635) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 114 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.227562' WHERE "spree_products"."id" = 192 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 192], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.230341' WHERE "spree_products"."id" = 192  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (207, 636) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 192]] 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, 30 Sep 2012 19:25:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:15 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" = 192 AND "spree_option_types"."id" = 115 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" = 192) ORDER BY position DESC 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, 30 Sep 2012 19:25:15 UTC +00:00], ["option_type_id", 115], ["position", 2], ["product_id", 192], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 115 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" = 115) ORDER BY position 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, 30 Sep 2012 19:25:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 115], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.249860' WHERE "spree_products"."id" = 192 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 192], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.252468' WHERE "spree_products"."id" = 192  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (637, 208) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 115 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" = 115) ORDER BY position 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, 30 Sep 2012 19:25:15 UTC +00:00], ["name", "colour"], ["option_type_id", 115], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.262281' WHERE "spree_products"."id" = 192 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 192], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.263871' WHERE "spree_products"."id" = 192  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (209, 638) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 192]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 192) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 635 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 636 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" = 637 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 638 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" != 192) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.294151' WHERE "spree_products"."id" = 192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 634 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.295477' WHERE "spree_products"."id" = 192 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.297384' WHERE "spree_products"."id" = 192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 635 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.299771' WHERE "spree_products"."id" = 192 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.302817' WHERE "spree_products"."id" = 192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 636 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.304359' WHERE "spree_products"."id" = 192 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.306373' WHERE "spree_products"."id" = 192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 637 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.307746' WHERE "spree_products"."id" = 192 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.555351' WHERE "spree_products"."id" = 192  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 638 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:15.557028' WHERE "spree_products"."id" = 192 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 192) 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" = 633 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" = 633) 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", Sun, 30 Sep 2012 19:25:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 633], ["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.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 192) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.020749', "count_on_hand" = 53 WHERE "spree_products"."id" = 192  (7.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 Product for AR Loader' LIMIT 1 Spree::Variant Load (0.5ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 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 = 625) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 190)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 625 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (1.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 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 = 625) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 190)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 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 = 629) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 191)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 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 = 633) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 192))  (0.2ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_products" SQL (4.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.6ms) DELETE FROM "spree_properties" SQL (4.3ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (3.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.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.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", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.182006' WHERE "spree_products"."id" = 193 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", 193], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.185479' WHERE "spree_products"."id" = 193  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 639 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.189587' WHERE "spree_products"."id" = 193  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 193  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["product_id", nil], ["property_id", 159], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:16.199952', "product_id" = 193 WHERE "spree_product_properties"."id" = 191 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" != 193) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 237 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 237], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 193 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (193, 412) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 238 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 238], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (193, 413) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 193) LIMIT 1 Spree::OptionType Load (0.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", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 193 AND "spree_option_types"."id" = 116 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" = 193) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["option_type_id", 116], ["position", 1], ["product_id", 193], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 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" = 116) ORDER BY position 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 116], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.238836' WHERE "spree_products"."id" = 193 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 193], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.240589' WHERE "spree_products"."id" = 193  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (210, 640) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 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" = 116) ORDER BY position 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 116], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.248204' WHERE "spree_products"."id" = 193 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 193], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.249798' WHERE "spree_products"."id" = 193  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (641, 211) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 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" = 116) ORDER BY position 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 116], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.255907' WHERE "spree_products"."id" = 193 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 193], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.262652' WHERE "spree_products"."id" = 193  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (212, 642) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 193]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 193) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 640 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 641 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 642 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" != 193) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.288602' WHERE "spree_products"."id" = 193  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 640 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.290008' WHERE "spree_products"."id" = 193 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.293458' WHERE "spree_products"."id" = 193  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 641 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.296360' WHERE "spree_products"."id" = 193 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.298894' WHERE "spree_products"."id" = 193  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 642 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.300267' WHERE "spree_products"."id" = 193 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 193) 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" = 639 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" = 639) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 639], ["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" != 193) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.663484', "count_on_hand" = 25 WHERE "spree_products"."id" = 193 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 193 Current value to assign : DEMO_002 Current value to 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.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, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.680413' WHERE "spree_products"."id" = 194 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 194], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.682128' WHERE "spree_products"."id" = 194  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 643 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.684080' WHERE "spree_products"."id" = 194  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 194  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 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", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["product_id", nil], ["property_id", 160], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:16.701187', "product_id" = 194 WHERE "spree_product_properties"."id" = 192 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" != 194) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 237 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" = 194 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (412, 194) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 239 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 239], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (414, 194) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 240], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (415, 194) 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" != 194) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 194 AND "spree_option_types"."id" = 116 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 194) 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, 30 Sep 2012 19:25:16 UTC +00:00], ["option_type_id", 116], ["position", 1], ["product_id", 194], ["updated_at", Sun, 30 Sep 2012 19:25:16 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.743877' WHERE "spree_products"."id" = 194 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 194], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.746830' WHERE "spree_products"."id" = 194  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (644, 210) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.753948' WHERE "spree_products"."id" = 194 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 194], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.757229' WHERE "spree_products"."id" = 194  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (211, 645) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.768779' WHERE "spree_products"."id" = 194 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 194], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.771185' WHERE "spree_products"."id" = 194  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (646, 212) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 194]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 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" != 194) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 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" = 194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 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" = 644 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 645 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 646 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" != 194) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.805700' WHERE "spree_products"."id" = 194  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 644 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.808257' WHERE "spree_products"."id" = 194 Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.812153' WHERE "spree_products"."id" = 194  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 645 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.815197' WHERE "spree_products"."id" = 194 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.819578' WHERE "spree_products"."id" = 194  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 646 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:16.822759' WHERE "spree_products"."id" = 194 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" != 194) 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" = 643 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" = 643) 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", Sun, 30 Sep 2012 19:25:16 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 643], ["viewable_type", "Spree::Variant"]] 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" != 194) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.165201', "count_on_hand" = 11 WHERE "spree_products"."id" = 194 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 194 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.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, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:19 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.191825' WHERE "spree_products"."id" = 195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 195], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.194372' WHERE "spree_products"."id" = 195  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 647 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.197927' WHERE "spree_products"."id" = 195  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 195  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:19 UTC +00:00], ["product_id", nil], ["property_id", 161], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:19.210422', "product_id" = 195 WHERE "spree_product_properties"."id" = 193 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, 30 Sep 2012 19:25:19 UTC +00:00], ["product_id", nil], ["property_id", 160], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:19.215808', "product_id" = 195 WHERE "spree_product_properties"."id" = 194 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:25:19 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, 30 Sep 2012 19:25:19 UTC +00:00], ["product_id", nil], ["property_id", 162], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:19.224844', "product_id" = 195 WHERE "spree_product_properties"."id" = 195 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" != 195) 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", Sun, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 241 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 241], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 195 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (416, 195) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 195) 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" = 195 AND "spree_option_types"."id" = 116 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" = 195) 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, 30 Sep 2012 19:25:19 UTC +00:00], ["option_type_id", 116], ["position", 1], ["product_id", 195], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.256051' WHERE "spree_products"."id" = 195 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 195], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.258764' WHERE "spree_products"."id" = 195  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (210, 648) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.265340' WHERE "spree_products"."id" = 195 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 195], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.267866' WHERE "spree_products"."id" = 195  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (211, 649) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 116 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.273147' WHERE "spree_products"."id" = 195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 195], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.275161' WHERE "spree_products"."id" = 195  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (212, 650) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 195]] 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:19 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" = 195 AND "spree_option_types"."id" = 117 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" = 195) 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, 30 Sep 2012 19:25:19 UTC +00:00], ["option_type_id", 117], ["position", 2], ["product_id", 195], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 117 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" = 117) 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "black_white"], ["option_type_id", 117], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.301656' WHERE "spree_products"."id" = 195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 195], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.303583' WHERE "spree_products"."id" = 195  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (213, 651) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 117 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" = 117) ORDER BY position 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "colour"], ["option_type_id", 117], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.311338' WHERE "spree_products"."id" = 195 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 195], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.313252' WHERE "spree_products"."id" = 195  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (652, 214) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 195]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 195) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 648 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 649 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 650 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" = 651 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" = 652 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" != 195) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.345687' WHERE "spree_products"."id" = 195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 648 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.347036' WHERE "spree_products"."id" = 195 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.348553' WHERE "spree_products"."id" = 195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 649 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.349657' WHERE "spree_products"."id" = 195 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.351195' WHERE "spree_products"."id" = 195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 650 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.352432' WHERE "spree_products"."id" = 195 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.354149' WHERE "spree_products"."id" = 195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 651 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.355585' WHERE "spree_products"."id" = 195 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.357273' WHERE "spree_products"."id" = 195  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 652 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.358439' WHERE "spree_products"."id" = 195 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 195) 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" = 647 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" = 647) 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", Sun, 30 Sep 2012 19:25:19 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 647], ["viewable_type", "Spree::Variant"]] 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" != 195) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.701184', "count_on_hand" = 53 WHERE "spree_products"."id" = 195 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 195 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::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" = 193 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 = 639) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 193)) 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" = 193 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 = 639) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 193)) Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 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 = 643) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 194)) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 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 = 647) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 195))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.5ms) DELETE FROM "spree_products" SQL (3.9ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (4.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.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, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:19 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.841585' WHERE "spree_products"."id" = 196 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 196], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.843561' WHERE "spree_products"."id" = 196  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 653 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:19.845465' WHERE "spree_products"."id" = 196  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 196  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:19 UTC +00:00], ["product_id", nil], ["property_id", 163], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:19.859557', "product_id" = 196 WHERE "spree_product_properties"."id" = 196 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" != 196) 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, 30 Sep 2012 19:25:19 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:19 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 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, 30 Sep 2012 19:25: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", 242], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 196 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (417, 196) 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", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 243 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 243], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (418, 196) 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" != 196) 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.5ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 196 AND "spree_option_types"."id" = 118 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" = 196) ORDER BY position DESC 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, 30 Sep 2012 19:25:20 UTC +00:00], ["option_type_id", 118], ["position", 1], ["product_id", 196], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 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" = 118) ORDER BY position 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "jpeg"], ["option_type_id", 118], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.124468' WHERE "spree_products"."id" = 196 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 196], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.126763' WHERE "spree_products"."id" = 196  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (654, 215) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 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" = 118) ORDER BY position 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "PDF"], ["option_type_id", 118], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.133864' WHERE "spree_products"."id" = 196 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 196], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.135634' WHERE "spree_products"."id" = 196  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (655, 216) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 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" = 118) 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "PNG"], ["option_type_id", 118], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.145565' WHERE "spree_products"."id" = 196 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 196], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.149006' WHERE "spree_products"."id" = 196  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (656, 217) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 196]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 196) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 654 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 655 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 656 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" != 196) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 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" = 196 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.180413' WHERE "spree_products"."id" = 196  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 654 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.182747' WHERE "spree_products"."id" = 196 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.184607' WHERE "spree_products"."id" = 196  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 655 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.186178' WHERE "spree_products"."id" = 196 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.188186' WHERE "spree_products"."id" = 196  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 656 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.189380' WHERE "spree_products"."id" = 196 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 196) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.193820', "count_on_hand" = 25 WHERE "spree_products"."id" = 196 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 196 Current value to assign : DEMO_002 Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.203539' WHERE "spree_products"."id" = 197 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 197], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.205270' WHERE "spree_products"."id" = 197  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 657 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.207186' WHERE "spree_products"."id" = 197  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 197  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:25:20 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, 30 Sep 2012 19:25:20 UTC +00:00], ["product_id", nil], ["property_id", 164], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:20.217503', "product_id" = 197 WHERE "spree_product_properties"."id" = 197 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" != 197) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 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" = 197 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (197, 417) 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 244], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (197, 419) 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" = 242 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" = 242 AND "spree_taxons"."parent_id" = 417 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", 417]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 417], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 242], ["updated_at", Sun, 30 Sep 2012 19:25: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", 417]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 420]] 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 = 420 THEN 417 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 417]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 420]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 AND "spree_taxons"."parent_id" = 420 AND "spree_taxons"."name" = 'Seascape' 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", 420]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 420], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 242], ["updated_at", Sun, 30 Sep 2012 19:25: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", 420]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 421]] 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 = 421 THEN 420 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 420]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 421]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (197, 420)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (197, 421) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 197) 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" = 197 AND "spree_option_types"."id" = 118 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" = 197) ORDER BY position DESC 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, 30 Sep 2012 19:25:20 UTC +00:00], ["option_type_id", 118], ["position", 1], ["product_id", 197], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.271162' WHERE "spree_products"."id" = 197 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 197], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.272808' WHERE "spree_products"."id" = 197  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (215, 658) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.278363' WHERE "spree_products"."id" = 197 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 197], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.280981' WHERE "spree_products"."id" = 197  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (216, 659) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.285967' WHERE "spree_products"."id" = 197 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 197], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.287385' WHERE "spree_products"."id" = 197  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (660, 217) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 197]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 197) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 658 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 659 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 660 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" != 197) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.308423' WHERE "spree_products"."id" = 197  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 658 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.309738' WHERE "spree_products"."id" = 197 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.311176' WHERE "spree_products"."id" = 197  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 659 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.312262' WHERE "spree_products"."id" = 197 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.313752' WHERE "spree_products"."id" = 197  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 660 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.314874' WHERE "spree_products"."id" = 197 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 197) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.318271', "count_on_hand" = 11 WHERE "spree_products"."id" = 197 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 197 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.328418' WHERE "spree_products"."id" = 198 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 198], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.331180' WHERE "spree_products"."id" = 198  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 661 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.334359' WHERE "spree_products"."id" = 198  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 198  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["product_id", nil], ["property_id", 165], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:20.348423', "product_id" = 198 WHERE "spree_product_properties"."id" = 198 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, 30 Sep 2012 19:25:20 UTC +00:00], ["product_id", nil], ["property_id", 164], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:20.351841', "product_id" = 198 WHERE "spree_product_properties"."id" = 199 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["product_id", nil], ["property_id", 166], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:20.355843', "product_id" = 198 WHERE "spree_product_properties"."id" = 200 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 198) 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 245 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 245], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 198 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (422, 198) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 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" = 242 AND "spree_taxons"."parent_id" = 417 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", 417]] 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, 30 Sep 2012 19:25: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", 417], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 242], ["updated_at", Sun, 30 Sep 2012 19:25: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", 417]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 423]] 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 = 423 THEN 417 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 417]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 423]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (423, 198)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (417, 198) 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" != 198) 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" = 198 AND "spree_option_types"."id" = 118 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" = 198) ORDER BY position DESC 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, 30 Sep 2012 19:25:20 UTC +00:00], ["option_type_id", 118], ["position", 1], ["product_id", 198], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.392090' WHERE "spree_products"."id" = 198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 198], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.394153' WHERE "spree_products"."id" = 198  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (662, 215) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.401368' WHERE "spree_products"."id" = 198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 198], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.403985' WHERE "spree_products"."id" = 198  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (663, 216) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 118 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.407869' WHERE "spree_products"."id" = 198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 198], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.409343' WHERE "spree_products"."id" = 198  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (217, 664) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 198]] 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:20 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" = 198 AND "spree_option_types"."id" = 119 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" = 198) ORDER BY position DESC 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, 30 Sep 2012 19:25:20 UTC +00:00], ["option_type_id", 119], ["position", 2], ["product_id", 198], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 119 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" = 119) 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "black_white"], ["option_type_id", 119], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.427376' WHERE "spree_products"."id" = 198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 198], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.428959' WHERE "spree_products"."id" = 198  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (218, 665) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 119 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" = 119) ORDER BY position 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "colour"], ["option_type_id", 119], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.435831' WHERE "spree_products"."id" = 198 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 198], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.437181' WHERE "spree_products"."id" = 198  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (219, 666) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 198]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 198) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 662 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 663 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 664 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 665 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" = 666 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" != 198) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.467176' WHERE "spree_products"."id" = 198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 662 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.469074' WHERE "spree_products"."id" = 198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.470773' WHERE "spree_products"."id" = 198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 663 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.471926' WHERE "spree_products"."id" = 198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.473490' WHERE "spree_products"."id" = 198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 664 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.474666' WHERE "spree_products"."id" = 198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.476147' WHERE "spree_products"."id" = 198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 665 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.477244' WHERE "spree_products"."id" = 198 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.478757' WHERE "spree_products"."id" = 198  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 666 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.479899' WHERE "spree_products"."id" = 198 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 198) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.483630', "count_on_hand" = 53 WHERE "spree_products"."id" = 198 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 198 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (56.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.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 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 = 661) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 198)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 198]] Spree::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 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 = 661) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 198)) SQL (3.0ms) 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 (3.3ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (5.3ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (4.2ms) 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: # 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.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, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.884273' WHERE "spree_products"."id" = 199 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", 199], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.887153' WHERE "spree_products"."id" = 199  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 667 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.890446' WHERE "spree_products"."id" = 199  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 199  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Sun, 30 Sep 2012 19:25:20 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, 30 Sep 2012 19:25:20 UTC +00:00], ["product_id", nil], ["property_id", 167], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:20.912657', "product_id" = 199 WHERE "spree_product_properties"."id" = 201 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" != 199) 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 246 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, 30 Sep 2012 19:25: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", 246], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 199 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (199, 424) 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 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", Sun, 30 Sep 2012 19:25: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", 247], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (199, 425) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 199) LIMIT 1 Spree::OptionType Load (0.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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:20 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" = 199 AND "spree_option_types"."id" = 120 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" = 199) ORDER BY position DESC 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, 30 Sep 2012 19:25:20 UTC +00:00], ["option_type_id", 120], ["position", 1], ["product_id", 199], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 120 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" = 120) ORDER BY position 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "jpeg"], ["option_type_id", 120], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.968065' WHERE "spree_products"."id" = 199 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 199], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.969555' WHERE "spree_products"."id" = 199  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (668, 220) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 120 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" = 120) ORDER BY position 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "PDF"], ["option_type_id", 120], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.976393' WHERE "spree_products"."id" = 199 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 199], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.979190' WHERE "spree_products"."id" = 199  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (221, 669) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 120 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" = 120) ORDER BY position 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, 30 Sep 2012 19:25:20 UTC +00:00], ["name", "PNG"], ["option_type_id", 120], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:20 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.985702' WHERE "spree_products"."id" = 199 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 199], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:20.987082' WHERE "spree_products"."id" = 199  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (222, 670) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 199]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 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" != 199) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 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" = 668 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 669 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 670 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" != 199) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:21.010361' WHERE "spree_products"."id" = 199  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 668 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:21.011633' WHERE "spree_products"."id" = 199 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:21.013132' WHERE "spree_products"."id" = 199  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 669 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:21.014245' WHERE "spree_products"."id" = 199 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:21.016399' WHERE "spree_products"."id" = 199  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 670 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:21.018309' WHERE "spree_products"."id" = 199 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 199) 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" = 667 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" = 667) 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, 30 Sep 2012 19:25:21 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 667], ["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" != 199) LIMIT 1 Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 667) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Sun, 30 Sep 2012 19:25:21 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 667], ["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" != 199) LIMIT 1 Spree::Asset Load (0.6ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 667) 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", Sun, 30 Sep 2012 19:25:21 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 667], ["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" != 199) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.239401', "count_on_hand" = 25 WHERE "spree_products"."id" = 199 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 199 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.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, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.254957' WHERE "spree_products"."id" = 200 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 200], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.256669' WHERE "spree_products"."id" = 200  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 671 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.260040' WHERE "spree_products"."id" = 200  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 200  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 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", Sun, 30 Sep 2012 19:25:22 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:22 UTC +00:00], ["product_id", nil], ["property_id", 168], ["updated_at", Sun, 30 Sep 2012 19:25:22 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:22.273281', "product_id" = 200 WHERE "spree_product_properties"."id" = 202 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" != 200) 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" = 246 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" = 200 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (424, 200) 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, 30 Sep 2012 19:25:22 UTC +00:00], ["name", "Landscape"], ["updated_at", Sun, 30 Sep 2012 19:25:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 6], ["taxonomy_id", 248], ["updated_at", Sun, 30 Sep 2012 19:25:22 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (426, 200) 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, 30 Sep 2012 19:25:22 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:25:22 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 249 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, 30 Sep 2012 19:25: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", 249], ["updated_at", Sun, 30 Sep 2012 19:25:22 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (427, 200) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 200) 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" = 200 AND "spree_option_types"."id" = 120 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" = 200) ORDER BY position DESC 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, 30 Sep 2012 19:25:22 UTC +00:00], ["option_type_id", 120], ["position", 1], ["product_id", 200], ["updated_at", Sun, 30 Sep 2012 19:25:22 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 120 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.315764' WHERE "spree_products"."id" = 200 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 200], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.318227' WHERE "spree_products"."id" = 200  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (672, 220) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 120 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.322882' WHERE "spree_products"."id" = 200 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 200], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.324700' WHERE "spree_products"."id" = 200  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (673, 221) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 120 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.331657' WHERE "spree_products"."id" = 200 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 200], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.334979' WHERE "spree_products"."id" = 200  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (222, 674) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 200]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 200) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 672 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 673 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 674 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" != 200) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.354931' WHERE "spree_products"."id" = 200  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 672 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.356285' WHERE "spree_products"."id" = 200 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.357985' WHERE "spree_products"."id" = 200  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 673 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.359161' WHERE "spree_products"."id" = 200 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.360950' WHERE "spree_products"."id" = 200  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 674 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:22.362122' WHERE "spree_products"."id" = 200 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 200) 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" = 671 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 671) 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", Sun, 30 Sep 2012 19:25:22 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 671], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.7ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 671) 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", Sun, 30 Sep 2012 19:25:24 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 671], ["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" != 200) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.129410', "count_on_hand" = 11 WHERE "spree_products"."id" = 200 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 200 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 SQLite3::SQLException: no such column: spree_products.sku: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (6.4ms) DELETE FROM "spree_products" SQL (4.0ms) 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.5ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (3.5ms) DELETE FROM "spree_taxonomies" SQL (2.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 (2.9ms) 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.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 51 Row ROWRest of World succesfully SAVED : ID 51 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 52 Row UKUnited Kingdom succesfully SAVED : ID 52 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 53 Row EUREurope succesfully SAVED : ID 53 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.7ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 54 Row NANorth America succesfully SAVED : ID 54 Current value to assign : Current value to assign :  (2.8ms) commit transaction  (0.3ms) SELECT COUNT(*) 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 (4.4ms) DELETE FROM "spree_option_types" SQL (4.9ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (4.6ms) 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.1ms) commit transaction PRODUCT # MASTER: # 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 ROWRest 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", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 55 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # 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", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 56 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.1ms) 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", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 57 Current value to assign : NA Current value to assign : North America Saving csv row NANorth 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.4ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 58  (3.1ms) commit transaction  (0.2ms) 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 (3.7ms) DELETE FROM "spree_option_types" SQL (3.5ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (4.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.0ms) commit transaction PRODUCT # MASTER: # SQL (5.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 (2.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (4.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 (3.3ms) DELETE FROM "spree_products" SQL (0.1ms) 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.6ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (3.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 : 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.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", Sun, 30 Sep 2012 19:25:25 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, 30 Sep 2012 19:25:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.592659' WHERE "spree_products"."id" = 201 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 201], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.594635' WHERE "spree_products"."id" = 201  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 675 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.597227' WHERE "spree_products"."id" = 201  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 201  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 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" = 675 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" != 201) 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", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 201 AND "spree_option_types"."id" = 121 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 201) 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, 30 Sep 2012 19:25:25 UTC +00:00], ["option_type_id", 121], ["position", 1], ["product_id", 201], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" != 201) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.832327', "count_on_hand" = 12 WHERE "spree_products"."id" = 201  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 675 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.835313' WHERE "spree_products"."id" = 201 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 201 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 201 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", Sun, 30 Sep 2012 19:25:25 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, 30 Sep 2012 19:25:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.847397' WHERE "spree_products"."id" = 202 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 202], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.849040' WHERE "spree_products"."id" = 202  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 676 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.850853' WHERE "spree_products"."id" = 202  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 202  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 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" = 676 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" != 202) 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" = 202 AND "spree_option_types"."id" = 121 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" = 202) 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, 30 Sep 2012 19:25:25 UTC +00:00], ["option_type_id", 121], ["position", 1], ["product_id", 202], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" != 202) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.874914', "count_on_hand" = 5 WHERE "spree_products"."id" = 202  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 676 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.877260' WHERE "spree_products"."id" = 202 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 202 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 202 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", Sun, 30 Sep 2012 19:25:25 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, 30 Sep 2012 19:25:25 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.887469' WHERE "spree_products"."id" = 203 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 203], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.888951' WHERE "spree_products"."id" = 203  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.891292' WHERE "spree_products"."id" = 203  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 203  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 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" = 677 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" != 203) 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" = 203 AND "spree_option_types"."id" = 121 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" = 203) 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, 30 Sep 2012 19:25:25 UTC +00:00], ["option_type_id", 121], ["position", 1], ["product_id", 203], ["updated_at", Sun, 30 Sep 2012 19:25:25 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", Sun, 30 Sep 2012 19:25:25 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" = 203 AND "spree_option_types"."id" = 122 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" = 203) ORDER BY position DESC 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, 30 Sep 2012 19:25:25 UTC +00:00], ["option_type_id", 122], ["position", 2], ["product_id", 203], ["updated_at", Sun, 30 Sep 2012 19:25:25 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" != 203) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.920634', "count_on_hand" = 23 WHERE "spree_products"."id" = 203  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 677 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:25.922660' WHERE "spree_products"."id" = 203 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 203 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 203 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (97.4ms) 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-09-30 19:25:26.026130')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 19:25:26.026826')  (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" = 201 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" = 201 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 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" = 203 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.6ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.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.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", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.097810' WHERE "spree_products"."id" = 204 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 204], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.100830' WHERE "spree_products"."id" = 204  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.103049' WHERE "spree_products"."id" = 204  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 204  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 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" = 678 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" != 204) LIMIT 1 Spree::OptionType Load (0.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, 30 Sep 2012 19:25:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" = 204 AND "spree_option_types"."id" = 123 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 204) 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 123], ["position", 1], ["product_id", 204], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 204) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.127127', "count_on_hand" = 12 WHERE "spree_products"."id" = 204  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 678 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.129602' WHERE "spree_products"."id" = 204 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 204 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.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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.143723' WHERE "spree_products"."id" = 205 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 205], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.145170' WHERE "spree_products"."id" = 205  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 679 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.146813' WHERE "spree_products"."id" = 205  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 205  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 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" = 679 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" != 205) 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" = 205 AND "spree_option_types"."id" = 123 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" = 205) ORDER BY position DESC 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 123], ["position", 1], ["product_id", 205], ["updated_at", Sun, 30 Sep 2012 19:25:26 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 205) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.163197', "count_on_hand" = 5 WHERE "spree_products"."id" = 205  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 679 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.165715' WHERE "spree_products"."id" = 205 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 205 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", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.178364' WHERE "spree_products"."id" = 206 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 206], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.179923' WHERE "spree_products"."id" = 206  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.181752' WHERE "spree_products"."id" = 206  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 206  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 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" = 680 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" != 206) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_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" = 206 AND "spree_option_types"."id" = 123 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" = 206) 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 123], ["position", 1], ["product_id", 206], ["updated_at", Sun, 30 Sep 2012 19:25:26 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", Sun, 30 Sep 2012 19:25:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" = 206 AND "spree_option_types"."id" = 124 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" = 206) ORDER BY position DESC 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 124], ["position", 2], ["product_id", 206], ["updated_at", Sun, 30 Sep 2012 19:25:26 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 206) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.211626', "count_on_hand" = 23 WHERE "spree_products"."id" = 206  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 680 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.213758' WHERE "spree_products"."id" = 206 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 206  (4.7ms) 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-09-30 19:25:26.222336')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-30 19:25:26.223093')  (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" = 204 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" = 204 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 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.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.7ms) 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 (2.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (2.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 : 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.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.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, 30 Sep 2012 20:25:26 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.308260' WHERE "spree_products"."id" = 207 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 207], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.310074' WHERE "spree_products"."id" = 207  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 681 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.311921' WHERE "spree_products"."id" = 207  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 207  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" = 207 AND "spree_option_types"."id" = 125 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" = 207) 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 125], ["position", 1], ["product_id", 207], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 207) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 207 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", Sun, 30 Sep 2012 20:25:26 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.343437' WHERE "spree_products"."id" = 208 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 208], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.344906' WHERE "spree_products"."id" = 208  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 682 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.346585' WHERE "spree_products"."id" = 208  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 208  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 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.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" = 208 AND "spree_option_types"."id" = 125 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" = 208) ORDER BY position DESC 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 125], ["position", 1], ["product_id", 208], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 208) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 208 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", Sun, 30 Sep 2012 20:25:26 UTC +00:00], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.371702' WHERE "spree_products"."id" = 209 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", 209], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.374522' WHERE "spree_products"."id" = 209  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 683 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.378363' WHERE "spree_products"."id" = 209  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 209  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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.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" = 209 AND "spree_option_types"."id" = 125 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" = 209) ORDER BY position DESC 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 125], ["position", 1], ["product_id", 209], ["updated_at", Sun, 30 Sep 2012 19:25:26 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", Sun, 30 Sep 2012 19:25:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" = 209 AND "spree_option_types"."id" = 126 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" = 209) ORDER BY position DESC 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 126], ["position", 2], ["product_id", 209], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 209) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 209 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.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" = 207 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (5.5ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (4.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 PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"meta_description"=>"super duper meta desc.", "cost_price"=>1.0, "meta_keywords"=>"techno dubstep d&b", "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.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", nil], ["count_on_hand", 0], ["created_at", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.485438' WHERE "spree_products"."id" = 210 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 210], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.487284' WHERE "spree_products"."id" = 210  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 684 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.489256' WHERE "spree_products"."id" = 210  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 210  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 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", Sun, 30 Sep 2012 19:25:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" = 210 AND "spree_option_types"."id" = 127 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" = 210) ORDER BY position DESC 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 127], ["position", 1], ["product_id", 210], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 210) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 210 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.3ms) INSERT INTO "spree_products" ("available_on", "count_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, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.722316' WHERE "spree_products"."id" = 211 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 211], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.724158' WHERE "spree_products"."id" = 211  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 685 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.728832' WHERE "spree_products"."id" = 211  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 211  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 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" = 211 AND "spree_option_types"."id" = 127 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 211) 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 127], ["position", 1], ["product_id", 211], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 211) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 211 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.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.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", Sun, 30 Sep 2012 19:25:26 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, 30 Sep 2012 19:25:26 UTC +00:00]] Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.784051' WHERE "spree_products"."id" = 212 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 212], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.787678' WHERE "spree_products"."id" = 212  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 686 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:26.795317' WHERE "spree_products"."id" = 212  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 212  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 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" = 212 AND "spree_option_types"."id" = 127 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 212) 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 127], ["position", 1], ["product_id", 212], ["updated_at", Sun, 30 Sep 2012 19:25:26 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", Sun, 30 Sep 2012 19:25:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" = 212 AND "spree_option_types"."id" = 128 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" = 212) 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, 30 Sep 2012 19:25:26 UTC +00:00], ["option_type_id", 128], ["position", 2], ["product_id", 212], ["updated_at", Sun, 30 Sep 2012 19:25:26 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" != 212) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 212 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (107.2ms) commit transaction  (0.3ms) 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" = 210 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" SQL (6.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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (8.0ms) DELETE FROM "spree_variants" SQL (12.3ms) DELETE FROM "spree_taxons" SQL (7.0ms) 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.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_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]]  (3.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 Current value to assign : Demo Product for AR Loader Current 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 (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, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.5ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.070879' WHERE "spree_products"."id" = 213 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 213], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.074156' WHERE "spree_products"."id" = 213  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 687 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.076530' WHERE "spree_products"."id" = 213  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 213  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["product_id", nil], ["property_id", 169], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:27.097051', "product_id" = 213 WHERE "spree_product_properties"."id" = 203 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" != 213) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 250 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, 30 Sep 2012 19:25: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", 250], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 213 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (213, 428) 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 251 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 251], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (213, 429) 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" != 213) 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:27 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" = 213 AND "spree_option_types"."id" = 129 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 213) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["option_type_id", 129], ["position", 1], ["product_id", 213], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 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" = 129) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 129], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.150289' WHERE "spree_products"."id" = 213 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 213], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.152799' WHERE "spree_products"."id" = 213  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (688, 223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 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" = 129) ORDER BY position 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 129], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.162401' WHERE "spree_products"."id" = 213 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 213], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.165407' WHERE "spree_products"."id" = 213  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (224, 689) Spree::OptionValue Load (0.3ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 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" = 129) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 129], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.178475' WHERE "spree_products"."id" = 213 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 213], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.181333' WHERE "spree_products"."id" = 213  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (690, 225) Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 213]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 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" != 213) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 688 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 689 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 690 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" != 213) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.209423' WHERE "spree_products"."id" = 213  (1.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 688 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.215014' WHERE "spree_products"."id" = 213 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.219001' WHERE "spree_products"."id" = 213  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 689 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.221266' WHERE "spree_products"."id" = 213 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.223728' WHERE "spree_products"."id" = 213  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 690 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.226090' WHERE "spree_products"."id" = 213 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 213) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.233245', "count_on_hand" = 25 WHERE "spree_products"."id" = 213 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 213 Current value to assign : DEMO_002 Current value to 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", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.249463' WHERE "spree_products"."id" = 214 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 214], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.252043' WHERE "spree_products"."id" = 214  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 691 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.255041' WHERE "spree_products"."id" = 214  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 214  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:27 UTC +00:00], ["product_id", nil], ["property_id", 170], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:27.270761', "product_id" = 214 WHERE "spree_product_properties"."id" = 204 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" != 214) 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" = 250 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" = 214 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (428, 214) 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 252 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 252], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (430, 214) 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" = 250 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" = 250 AND "spree_taxons"."parent_id" = 428 AND "spree_taxons"."name" = 'Nature' 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", 428]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 428], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 250], ["updated_at", Sun, 30 Sep 2012 19:25:27 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", 428]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 431]] 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 = 431 THEN 428 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 428]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 431]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 250 AND "spree_taxons"."parent_id" = 431 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", 431]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 431], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 250], ["updated_at", Sun, 30 Sep 2012 19:25: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", 431]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 432]] 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 = 432 THEN 431 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 431]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 432]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (431, 214)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (432, 214) 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" != 214) 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" = 214 AND "spree_option_types"."id" = 129 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 214) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["option_type_id", 129], ["position", 1], ["product_id", 214], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.337164' WHERE "spree_products"."id" = 214 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 214], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.339696' WHERE "spree_products"."id" = 214  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (692, 223) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.344396' WHERE "spree_products"."id" = 214 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 214], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.345944' WHERE "spree_products"."id" = 214  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (224, 693) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.349203' WHERE "spree_products"."id" = 214 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 214], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.350568' WHERE "spree_products"."id" = 214  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (694, 225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 214]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 214) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 692 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 693 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 694 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" != 214) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.369176' WHERE "spree_products"."id" = 214  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 692 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.370622' WHERE "spree_products"."id" = 214 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.372259' WHERE "spree_products"."id" = 214  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 693 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.373401' WHERE "spree_products"."id" = 214 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.375013' WHERE "spree_products"."id" = 214  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 694 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.376199' WHERE "spree_products"."id" = 214 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" != 214) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.381662', "count_on_hand" = 11 WHERE "spree_products"."id" = 214 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 214 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.395461' WHERE "spree_products"."id" = 215 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 215], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.398222' WHERE "spree_products"."id" = 215  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 695 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.401208' WHERE "spree_products"."id" = 215  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 215  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:25: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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["product_id", nil], ["property_id", 171], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:27.410016', "product_id" = 215 WHERE "spree_product_properties"."id" = 205 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, 30 Sep 2012 19:25:27 UTC +00:00], ["product_id", nil], ["property_id", 170], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:27.413032', "product_id" = 215 WHERE "spree_product_properties"."id" = 206 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:25:27 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, 30 Sep 2012 19:25:27 UTC +00:00], ["product_id", nil], ["property_id", 172], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:27.419161', "product_id" = 215 WHERE "spree_product_properties"."id" = 207 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 215) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 253 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 253], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 215 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (433, 215) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 250 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" = 250 AND "spree_taxons"."parent_id" = 428 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", 428]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", "Landscape"], ["parent_id", 428], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 250], ["updated_at", Sun, 30 Sep 2012 19:25: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", 428]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 434]] 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 = 434 THEN 428 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 428]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 434]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (434, 215)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (428, 215) 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" != 215) 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" = 215 AND "spree_option_types"."id" = 129 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" = 215) ORDER BY position DESC 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, 30 Sep 2012 19:25:27 UTC +00:00], ["option_type_id", 129], ["position", 1], ["product_id", 215], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.644046' WHERE "spree_products"."id" = 215 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 215], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.645868' WHERE "spree_products"."id" = 215  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (223, 696) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.650127' WHERE "spree_products"."id" = 215 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 215], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.651664' WHERE "spree_products"."id" = 215  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (697, 224) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 129 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.655178' WHERE "spree_products"."id" = 215 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 215], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.656489' WHERE "spree_products"."id" = 215  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (698, 225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 215]] 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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25:27 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" = 215 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 215) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["option_type_id", 130], ["position", 2], ["product_id", 215], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 130 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" = 130) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "black_white"], ["option_type_id", 130], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.679080' WHERE "spree_products"."id" = 215 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 215], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.680784' WHERE "spree_products"."id" = 215  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (699, 226) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 130 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" = 130) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "colour"], ["option_type_id", 130], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.689975' WHERE "spree_products"."id" = 215 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 215], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.691587' WHERE "spree_products"."id" = 215  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (700, 227) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 215]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 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" != 215) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 696 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 697 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 699 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 700 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" != 215) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.718501' WHERE "spree_products"."id" = 215  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 696 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.720061' WHERE "spree_products"."id" = 215 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.721739' WHERE "spree_products"."id" = 215  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 697 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.722882' WHERE "spree_products"."id" = 215 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.724695' WHERE "spree_products"."id" = 215  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 698 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.726919' WHERE "spree_products"."id" = 215 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.729782' WHERE "spree_products"."id" = 215  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 699 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.731840' WHERE "spree_products"."id" = 215 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.735080' WHERE "spree_products"."id" = 215  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 700 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.738066' WHERE "spree_products"."id" = 215 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 215) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.743281', "count_on_hand" = 53 WHERE "spree_products"."id" = 215 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 215 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (60.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::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" = 213 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" = 215 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" = 215 SQL (3.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 (4.6ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (5.8ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.4ms) 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.1ms) 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]]  (2.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.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, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.914991' WHERE "spree_products"."id" = 216 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 216], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.916633' WHERE "spree_products"."id" = 216  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 701 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.918846' WHERE "spree_products"."id" = 216  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 216  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["product_id", nil], ["property_id", 173], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:27.928844', "product_id" = 216 WHERE "spree_product_properties"."id" = 208 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" != 216) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 254 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", Sun, 30 Sep 2012 19:25: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", 254], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 216 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (435, 216) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 216) 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 255 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 255], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (436, 216) 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" != 216) 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", Sun, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Sun, 30 Sep 2012 19:25:27 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" = 216 AND "spree_option_types"."id" = 131 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" = 216) ORDER BY position DESC 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, 30 Sep 2012 19:25:27 UTC +00:00], ["option_type_id", 131], ["position", 1], ["product_id", 216], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 131 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" = 131) 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 131], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.977315' WHERE "spree_products"."id" = 216 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 216], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.979053' WHERE "spree_products"."id" = 216  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (702, 228) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 216]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 216) 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" = 216 AND "spree_option_types"."id" = 131 ORDER 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" = 131 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" = 131) ORDER BY position 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, 30 Sep 2012 19:25:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 131], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.992541' WHERE "spree_products"."id" = 216 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 216], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:27.994100' WHERE "spree_products"."id" = 216  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (229, 703) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 216]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 216) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 216 AND "spree_option_types"."id" = 131 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" = 131 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" = 131) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 131], ["position", 3], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.012895' WHERE "spree_products"."id" = 216 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 216], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.015011' WHERE "spree_products"."id" = 216  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (230, 704) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 216]] Current value to assign : Current value to assign : Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 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" != 216) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 702 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 703 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 704 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" != 216) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.038375' WHERE "spree_products"."id" = 216  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 702 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.039683' WHERE "spree_products"."id" = 216 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.041323' WHERE "spree_products"."id" = 216  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 703 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.042430' WHERE "spree_products"."id" = 216 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.043825' WHERE "spree_products"."id" = 216  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 704 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.044868' WHERE "spree_products"."id" = 216 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 216) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.048454', "count_on_hand" = 25 WHERE "spree_products"."id" = 216 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 216 Current value to assign : DEMO_002 Current value to 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, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.057359' WHERE "spree_products"."id" = 217 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 217], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.058795' WHERE "spree_products"."id" = 217  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 705 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.060455' WHERE "spree_products"."id" = 217  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 217  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Sun, 30 Sep 2012 19:25:28 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, 30 Sep 2012 19:25:28 UTC +00:00], ["product_id", nil], ["property_id", 174], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:28.072276', "product_id" = 217 WHERE "spree_product_properties"."id" = 209 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" != 217) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 254 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" = 217 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (435, 217) 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" != 217) LIMIT 1 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", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "Oils"], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 256], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (437, 217) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 217) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 254 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" = 254 AND "spree_taxons"."parent_id" = 435 AND "spree_taxons"."name" = 'Nature' 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", 435]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 435], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 254], ["updated_at", Sun, 30 Sep 2012 19:25: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", 435]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 438]] 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 = 438 THEN 435 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 435]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 438]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 254 AND "spree_taxons"."parent_id" = 438 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", 438]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 438], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 254], ["updated_at", Sun, 30 Sep 2012 19:25: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", 438]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 439]] 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 = 439 THEN 438 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 438]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 439]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (438, 217)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (439, 217) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 217) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 217 AND "spree_option_types"."id" = 131 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" = 217) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["option_type_id", 131], ["position", 1], ["product_id", 217], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 131 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.128897' WHERE "spree_products"."id" = 217 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 217], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.130385' WHERE "spree_products"."id" = 217  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (706, 228) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 217]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 217) 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" = 217 AND "spree_option_types"."id" = 131 ORDER 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" = 131 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.144693' WHERE "spree_products"."id" = 217 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 217], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.323584' WHERE "spree_products"."id" = 217  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (707, 229) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 217]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 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" != 217) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 217 AND "spree_option_types"."id" = 131 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" = 131 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.342344' WHERE "spree_products"."id" = 217 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 217], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.344064' WHERE "spree_products"."id" = 217  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (230, 708) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 217]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 217) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 706 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 707 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 708 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" != 217) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.364859' WHERE "spree_products"."id" = 217  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 706 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.366259' WHERE "spree_products"."id" = 217 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.367918' WHERE "spree_products"."id" = 217  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 707 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.369128' WHERE "spree_products"."id" = 217 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.370914' WHERE "spree_products"."id" = 217  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 708 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.373767' WHERE "spree_products"."id" = 217 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" != 217) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.379718', "count_on_hand" = 11 WHERE "spree_products"."id" = 217 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 217 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.389828' WHERE "spree_products"."id" = 218 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 218], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.391266' WHERE "spree_products"."id" = 218  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 709 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.394258' WHERE "spree_products"."id" = 218  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 218  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' 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, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:28 UTC +00:00], ["product_id", nil], ["property_id", 175], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:28.405539', "product_id" = 218 WHERE "spree_product_properties"."id" = 210 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["product_id", nil], ["property_id", 174], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:28.410333', "product_id" = 218 WHERE "spree_product_properties"."id" = 211 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Sun, 30 Sep 2012 19:25: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, 30 Sep 2012 19:25:28 UTC +00:00], ["product_id", nil], ["property_id", 176], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "updated_at" = '2012-09-30 19:25:28.417198', "product_id" = 218 WHERE "spree_product_properties"."id" = 212 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" != 218) 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", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 257 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 257], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 218 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (440, 218) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 254 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" = 254 AND "spree_taxons"."parent_id" = 435 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", 435]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 435], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 254], ["updated_at", Sun, 30 Sep 2012 19:25: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", 435]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 441]] 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 = 441 THEN 435 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 435]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 441]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (441, 218)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (435, 218) 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" != 218) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 218 AND "spree_option_types"."id" = 131 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" = 218) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["option_type_id", 131], ["position", 1], ["product_id", 218], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 131 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.462600' WHERE "spree_products"."id" = 218 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 218], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.464233' WHERE "spree_products"."id" = 218  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (228, 710) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 218]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) 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" = 218 AND "spree_option_types"."id" = 131 ORDER 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" = 131 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.474660' WHERE "spree_products"."id" = 218 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 218], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.476643' WHERE "spree_products"."id" = 218  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (711, 229) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 218]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) 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" = 218 AND "spree_option_types"."id" = 131 ORDER 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" = 131 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.486884' WHERE "spree_products"."id" = 218 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 218], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.488559' WHERE "spree_products"."id" = 218  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (230, 712) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 218]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 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" != 218) 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", Sun, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Sun, 30 Sep 2012 19:25: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" = 218 AND "spree_option_types"."id" = 132 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 218) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["option_type_id", 132], ["position", 2], ["product_id", 218], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 132 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" = 132) 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, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 132], ["position", 1], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.514239' WHERE "spree_products"."id" = 218 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 218], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.515850' WHERE "spree_products"."id" = 218  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (713, 231) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 218]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) 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.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" = 218 AND "spree_option_types"."id" = 132 ORDER 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" = 132 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" = 132) ORDER BY position 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, 30 Sep 2012 19:25:28 UTC +00:00], ["name", "colour"], ["option_type_id", 132], ["position", 2], ["presentation", nil], ["updated_at", Sun, 30 Sep 2012 19:25:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.527173' WHERE "spree_products"."id" = 218 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 218], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.528888' WHERE "spree_products"."id" = 218  (0.4ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (714, 232) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 218]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 710 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 711 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 712 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 713 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 714 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" != 218) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.556918' WHERE "spree_products"."id" = 218  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 710 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.558303' WHERE "spree_products"."id" = 218 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.561086' WHERE "spree_products"."id" = 218  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 711 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.563260' WHERE "spree_products"."id" = 218 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.565756' WHERE "spree_products"."id" = 218  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 712 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.567604' WHERE "spree_products"."id" = 218 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.569338' WHERE "spree_products"."id" = 218  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 713 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.570421' WHERE "spree_products"."id" = 218 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.571805' WHERE "spree_products"."id" = 218  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 714 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.573250' WHERE "spree_products"."id" = 218 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 218) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-09-30 19:25:28.579931', "count_on_hand" = 53 WHERE "spree_products"."id" = 218 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 218 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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.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" = 216 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" = 218 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" = 218 SQL (2.9ms) 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 (3.4ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.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.6ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (10.6ms) DELETE FROM "spree_taxonomies" SQL (7.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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.2ms) 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.9ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (7.2ms) DELETE FROM "spree_taxons" SQL (6.2ms) DELETE FROM "spree_taxonomies" SQL (4.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 (3.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (3.8ms) 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 (6.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones" SQL (3.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 (3.9ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) 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 (2.6ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (4.9ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) 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 (2.7ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.3ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (4.7ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones" SQL (3.3ms) 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 (3.2ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (3.5ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.4ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.8ms) 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.5ms) DELETE FROM "spree_option_values" SQL (5.1ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (2.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (8.6ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (5.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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, 30 Sep 2012 19:25:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 258 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, 30 Sep 2012 19:25: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", 258], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:25: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", 258], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]]  (4.2ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 442, "updated_at" = '2012-09-30 19:25:29.484910' WHERE "spree_taxons"."id" = 443 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 442]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 443]] 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 = 443 THEN 442 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 442]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 443]]  (3.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" = 442 ORDER BY "lft" SQL (3.6ms) 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 (4.0ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (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", Sun, 30 Sep 2012 19:25:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 259 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", Sun, 30 Sep 2012 19:25: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", 259], ["updated_at", Sun, 30 Sep 2012 19:25:29 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 (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, 30 Sep 2012 19:25: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", 259], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]]  (5.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 444, "updated_at" = '2012-09-30 19:25:29.593365' WHERE "spree_taxons"."id" = 445 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 444]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 445]] 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 = 445 THEN 444 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 444]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 445]]  (3.5ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 444 ORDER BY "lft" SQL (2.9ms) 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 (3.7ms) DELETE FROM "spree_option_values" SQL (4.6ms) DELETE FROM "spree_properties" SQL (5.4ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (6.9ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 260 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, 30 Sep 2012 19:25: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", 260], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]]  (4.8ms) 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", Sun, 30 Sep 2012 19:25: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", 260], ["updated_at", Sun, 30 Sep 2012 19:25:29 UTC +00:00]]  (5.3ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "spree_taxons" SET "parent_id" = 446, "updated_at" = '2012-09-30 19:25:29.737272' WHERE "spree_taxons"."id" = 447 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 446]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 447]] 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 = 447 THEN 446 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 446]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 447]]  (3.2ms) 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" = 446 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (3.6ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (5.1ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  Excel Loader processing 0 rows  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "spree_taxonomies" SQL (244.8ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (3.7ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (4.7ms) DELETE FROM "spree_taxonomies" SQL (6.1ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (5.2ms) DELETE FROM "spree_taxonomies" SQL (6.9ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) rollback transaction 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 (5.6ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (10.8ms) DELETE FROM "spree_product_properties" SQL (3.6ms) DELETE FROM "spree_variants" SQL (7.5ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.4ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 261 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, 30 Sep 2012 19:25: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", 261], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (3.7ms) 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", Sun, 30 Sep 2012 19:25: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", 261], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (3.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.9ms) 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 (4.7ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (4.6ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 262 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 262], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:25: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", 262], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (5.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.8ms) 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 (3.3ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 263 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25: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", 263], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (4.3ms) 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", Sun, 30 Sep 2012 19:25: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", 263], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (4.6ms) 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 (4.8ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (4.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 264 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, 30 Sep 2012 19:25: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", 264], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (4.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", Sun, 30 Sep 2012 19:25: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", 264], ["updated_at", Sun, 30 Sep 2012 19:25:30 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (3.2ms) 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 (2.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) begin transaction SQL (5.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:10:50 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:10:50 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 265 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 07:10: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", 265], ["updated_at", Mon, 01 Oct 2012 07:10:50 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:10: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", 265], ["updated_at", Mon, 01 Oct 2012 07:10:50 UTC +00:00]]  (5.1ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:10:50.972844', "parent_id" = 456 WHERE "spree_taxons"."id" = 457 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 456]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 457]] 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 = 457 THEN 456 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 456]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 457]]  (3.2ms) 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" = 456 ORDER BY "lft" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (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", Mon, 01 Oct 2012 07:10:51 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:10:51 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 266 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 07:10:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 266], ["updated_at", Mon, 01 Oct 2012 07:10:51 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:10:51 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", 266], ["updated_at", Mon, 01 Oct 2012 07:10:51 UTC +00:00]]  (5.1ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:10:51.157556', "parent_id" = 458 WHERE "spree_taxons"."id" = 459 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 458]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 459]] 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 = 459 THEN 458 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 458]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 459]]  (3.9ms) 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" = 458 ORDER BY "lft" SQL (2.7ms) 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 (2.8ms) DELETE FROM "spree_option_values" SQL (4.5ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (2.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (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, 01 Oct 2012 07:10:51 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:10:51 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 267 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:10:51 UTC +00:00], ["description", nil], ["icon_content_type", nil], ["icon_file_name", nil], ["icon_file_size", nil], ["icon_updated_at", nil], ["lft", 1], ["name", "Paintings"], ["parent_id", nil], ["permalink", "paintings"], ["position", 0], ["rgt", 2], ["taxonomy_id", 267], ["updated_at", Mon, 01 Oct 2012 07:10:51 UTC +00:00]]  (5.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, 01 Oct 2012 07:10:51 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", 267], ["updated_at", Mon, 01 Oct 2012 07:10:51 UTC +00:00]]  (5.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:10:51.252938', "parent_id" = 460 WHERE "spree_taxons"."id" = 461 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 460]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 461]] 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 = 461 THEN 460 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 460]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 461]]  (4.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" = 460 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (3.9ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.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.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.7ms) DELETE FROM "spree_taxonomies" SQL (3.7ms) DELETE FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"   (0.1ms) begin transaction  (0.0ms) rollback transaction Booted Spree using version 1.1.3 SQL (55.5ms) 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 (3.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (2.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.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (5.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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 07:14: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", 268], ["updated_at", Mon, 01 Oct 2012 07:14:35 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, 01 Oct 2012 07:14: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", 268], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]]  (5.5ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:14:35.293988', "parent_id" = 462 WHERE "spree_taxons"."id" = 463 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 462]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 463]] 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 = 463 THEN 462 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 462]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 463]]  (4.7ms) 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" = 462 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.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 07:14: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", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.424596' WHERE "spree_products"."id" = 219 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 219], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.426825' WHERE "spree_products"."id" = 219  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 715 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.428923' WHERE "spree_products"."id" = 219  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 219  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 'f' 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 07:14:35 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:14:35 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 07:14:35 UTC +00:00], ["product_id", nil], ["property_id", 177], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 219, "updated_at" = '2012-10-01 07:14:35.453343' WHERE "spree_product_properties"."id" = 213 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" != 219) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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" = 219 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (219, 462) 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 07:14:35 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 269 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 269], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (219, 464) 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" != 219) 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", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:14:35 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" = 219 AND "spree_option_types"."id" = 133 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" = 219) 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 07:14:35 UTC +00:00], ["option_type_id", 133], ["position", 1], ["product_id", 219], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 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" = 133) 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 07:14:35 UTC +00:00], ["name", "jpeg"], ["option_type_id", 133], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.641968' WHERE "spree_products"."id" = 219 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 219], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.643414' WHERE "spree_products"."id" = 219  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (716, 233) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 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" = 133) ORDER BY position 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 07:14:35 UTC +00:00], ["name", "PDF"], ["option_type_id", 133], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.651062' WHERE "spree_products"."id" = 219 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 219], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.652411' WHERE "spree_products"."id" = 219  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (717, 234) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 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" = 133) ORDER BY position 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 07:14:35 UTC +00:00], ["name", "PNG"], ["option_type_id", 133], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.657643' WHERE "spree_products"."id" = 219 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 219], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.658940' WHERE "spree_products"."id" = 219  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (235, 718) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 219]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 219) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 716 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 717 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 718 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" != 219) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.692877' WHERE "spree_products"."id" = 219  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 716 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.694112' WHERE "spree_products"."id" = 219 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.695873' WHERE "spree_products"."id" = 219  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 717 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.697096' WHERE "spree_products"."id" = 219 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.698585' WHERE "spree_products"."id" = 219  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 718 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.699626' WHERE "spree_products"."id" = 219 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 219) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 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 07:14:35.703077' WHERE "spree_products"."id" = 219 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 219 Current value to assign : DEMO_002 Current value to 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 07:14: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", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.711667' WHERE "spree_products"."id" = 220 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 220], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.713006' WHERE "spree_products"."id" = 220  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 719 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.714565' WHERE "spree_products"."id" = 220  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 220  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 'f' 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 07:14:35 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:14: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 07:14:35 UTC +00:00], ["product_id", nil], ["property_id", 178], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 220, "updated_at" = '2012-10-01 07:14:35.722014' WHERE "spree_product_properties"."id" = 214 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" != 220) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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" = 220 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 462) 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 07:14:35 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 270 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 270], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 465) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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" = 268 AND "spree_taxons"."parent_id" = 462 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", 462]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 462], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 268], ["updated_at", Mon, 01 Oct 2012 07:14: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", 462]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 466]] SQL (0.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 = 466 THEN 462 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 462]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 466]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 AND "spree_taxons"."parent_id" = 466 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", 466]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 466], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 268], ["updated_at", Mon, 01 Oct 2012 07:14: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", 466]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 467]] SQL (0.1ms) 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 = 467 THEN 466 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 466]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 467]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 466)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 467) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 220) 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" = 220 AND "spree_option_types"."id" = 133 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" = 220) ORDER BY position DESC 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 07:14:35 UTC +00:00], ["option_type_id", 133], ["position", 1], ["product_id", 220], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.757840' WHERE "spree_products"."id" = 220 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 220], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.759157' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (720, 233) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.762206' WHERE "spree_products"."id" = 220 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 220], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.763404' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (234, 721) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.766404' WHERE "spree_products"."id" = 220 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 220], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.767593' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (722, 235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 220]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 220) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 720 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 721 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 722 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" != 220) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.783066' WHERE "spree_products"."id" = 220  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 720 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.784315' WHERE "spree_products"."id" = 220 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.785738' WHERE "spree_products"."id" = 220  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 721 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.786773' WHERE "spree_products"."id" = 220 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.788106' WHERE "spree_products"."id" = 220  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 722 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.789097' WHERE "spree_products"."id" = 220 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 220) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 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 07:14:35.792285' WHERE "spree_products"."id" = 220 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 220 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:14: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 07:14:35 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.800559' WHERE "spree_products"."id" = 221 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 221], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.801821' WHERE "spree_products"."id" = 221  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 723 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.803347' WHERE "spree_products"."id" = 221  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 221  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' 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 07:14:35 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:14: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 07:14:35 UTC +00:00], ["product_id", nil], ["property_id", 179], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 221, "updated_at" = '2012-10-01 07:14:35.810492' WHERE "spree_product_properties"."id" = 215 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 07:14:35 UTC +00:00], ["product_id", nil], ["property_id", 178], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 221, "updated_at" = '2012-10-01 07:14:35.813377' WHERE "spree_product_properties"."id" = 216 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 07:14:35 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:14: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 07:14:35 UTC +00:00], ["product_id", nil], ["property_id", 180], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 221, "updated_at" = '2012-10-01 07:14:35.817285' WHERE "spree_product_properties"."id" = 217 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 221) 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 07:14:35 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 271 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 271], ["updated_at", Mon, 01 Oct 2012 07:14: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" = 221 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (221, 468) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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" = 268 AND "spree_taxons"."parent_id" = 462 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (221, 463)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (221, 462) 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" != 221) 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" = 221 AND "spree_option_types"."id" = 133 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" = 221) ORDER BY position DESC 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 07:14:35 UTC +00:00], ["option_type_id", 133], ["position", 1], ["product_id", 221], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.838736' WHERE "spree_products"."id" = 221 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 221], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.840133' WHERE "spree_products"."id" = 221  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (724, 233) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.843285' WHERE "spree_products"."id" = 221 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 221], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.844518' WHERE "spree_products"."id" = 221  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (234, 725) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 133 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.847712' WHERE "spree_products"."id" = 221 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 221], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.848953' WHERE "spree_products"."id" = 221  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (235, 726) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 221]] 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 07:14:35 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:14:35 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" = 221 AND "spree_option_types"."id" = 134 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" = 221) ORDER BY position DESC 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 07:14:35 UTC +00:00], ["option_type_id", 134], ["position", 2], ["product_id", 221], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 134 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" = 134) ORDER BY position 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 07:14:35 UTC +00:00], ["name", "black_white"], ["option_type_id", 134], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.862512' WHERE "spree_products"."id" = 221 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 221], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.863840' WHERE "spree_products"."id" = 221  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (236, 727) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 134 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" = 134) ORDER BY position 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 07:14:35 UTC +00:00], ["name", "colour"], ["option_type_id", 134], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:35 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.869323' WHERE "spree_products"."id" = 221 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 221], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:35.870567' WHERE "spree_products"."id" = 221  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (237, 728) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 221]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 221) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 724 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 725 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 726 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 727 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 728 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" != 221) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.026541' WHERE "spree_products"."id" = 221  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 724 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.027801' WHERE "spree_products"."id" = 221 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.029388' WHERE "spree_products"."id" = 221  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 725 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.030505' WHERE "spree_products"."id" = 221 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.032042' WHERE "spree_products"."id" = 221  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 726 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.033106' WHERE "spree_products"."id" = 221 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.034609' WHERE "spree_products"."id" = 221  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 727 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.035673' WHERE "spree_products"."id" = 221 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.037192' WHERE "spree_products"."id" = 221  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 728 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.038300' WHERE "spree_products"."id" = 221 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 221) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 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 07:14:36.041878' WHERE "spree_products"."id" = 221 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 221 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (60.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" = 219 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" = 219 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" = 220 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" = 220 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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" = 462 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 466 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 466 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 467 ORDER BY "lft" SQL (5.7ms) 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 (2.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (5.4ms) DELETE FROM "spree_taxons" SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (4.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.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 272], ["updated_at", Mon, 01 Oct 2012 07:14:36 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 272], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (4.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:14:36.198336', "parent_id" = 469 WHERE "spree_taxons"."id" = 470 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 469]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 470]] 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 = 470 THEN 469 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 469]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 470]]  (3.3ms) 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" = 469 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.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 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.236945' WHERE "spree_products"."id" = 222 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 222], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.238541' WHERE "spree_products"."id" = 222  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 729 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.240092' WHERE "spree_products"."id" = 222  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 222  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' 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 07:14:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:14: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 07:14:36 UTC +00:00], ["product_id", nil], ["property_id", 181], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 222, "updated_at" = '2012-10-01 07:14:36.248067' WHERE "spree_product_properties"."id" = 218 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" != 222) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 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" = 222 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (222, 469) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 222) 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, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 273 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 273], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (222, 471) 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" != 222) 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", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:14:36 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" = 222 AND "spree_option_types"."id" = 135 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" = 222) ORDER BY position DESC 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 07:14:36 UTC +00:00], ["option_type_id", 135], ["position", 1], ["product_id", 222], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 135 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" = 135) ORDER BY position 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 07:14:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 135], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.279180' WHERE "spree_products"."id" = 222 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 222], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.280581' WHERE "spree_products"."id" = 222  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (238, 730) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 222]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 222) 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" = 222 AND "spree_option_types"."id" = 135 ORDER 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" = 135 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" = 135) ORDER BY position 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 07:14:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 135], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.291153' WHERE "spree_products"."id" = 222 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 222], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.292415' WHERE "spree_products"."id" = 222  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (731, 239) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 222]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 222) 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" = 222 AND "spree_option_types"."id" = 135 ORDER 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" = 135 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" = 135) ORDER BY position 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 07:14:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 135], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.302730' WHERE "spree_products"."id" = 222 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 222], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.304070' WHERE "spree_products"."id" = 222  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (732, 240) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 222]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 222) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 730 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 731 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 732 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" != 222) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.323149' WHERE "spree_products"."id" = 222  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 730 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.324363' WHERE "spree_products"."id" = 222 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.325707' WHERE "spree_products"."id" = 222  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 731 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.326759' WHERE "spree_products"."id" = 222 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.328098' WHERE "spree_products"."id" = 222  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 732 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.329119' WHERE "spree_products"."id" = 222 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 222) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 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 07:14:36.332310' WHERE "spree_products"."id" = 222 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 222 Current value to assign : DEMO_002 Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:14: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 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.340572' WHERE "spree_products"."id" = 223 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 223], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.341920' WHERE "spree_products"."id" = 223  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 733 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.343468' WHERE "spree_products"."id" = 223  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 223  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' 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 07:14:36 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["product_id", nil], ["property_id", 182], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 223, "updated_at" = '2012-10-01 07:14:36.350901' WHERE "spree_product_properties"."id" = 219 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" != 223) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 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" = 223 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 469) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) 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, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 274 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 274], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 472) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 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" = 272 AND "spree_taxons"."parent_id" = 469 AND "spree_taxons"."name" = 'Nature' 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", 469]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 469], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 272], ["updated_at", Mon, 01 Oct 2012 07:14: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", 469]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 473]] SQL (0.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 = 473 THEN 469 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 469]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 473]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 AND "spree_taxons"."parent_id" = 473 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", 473]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 473], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 272], ["updated_at", Mon, 01 Oct 2012 07:14: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", 473]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 474]] SQL (0.1ms) 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 = 474 THEN 473 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 473]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 474]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 473)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 474) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) 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" = 223 AND "spree_option_types"."id" = 135 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" = 223) ORDER BY position DESC 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 07:14:36 UTC +00:00], ["option_type_id", 135], ["position", 1], ["product_id", 223], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 135 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.391174' WHERE "spree_products"."id" = 223 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 223], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.392554' WHERE "spree_products"."id" = 223  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (734, 238) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 223]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) 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" = 223 AND "spree_option_types"."id" = 135 ORDER 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" = 135 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.401609' WHERE "spree_products"."id" = 223 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 223], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.402948' WHERE "spree_products"."id" = 223  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (239, 735) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 223]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) 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" = 223 AND "spree_option_types"."id" = 135 ORDER 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" = 135 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.411787' WHERE "spree_products"."id" = 223 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 223], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.413206' WHERE "spree_products"."id" = 223  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (736, 240) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 223]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 734 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 735 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 736 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" != 223) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.429702' WHERE "spree_products"."id" = 223  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 734 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.430888' WHERE "spree_products"."id" = 223 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.432300' WHERE "spree_products"."id" = 223  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 735 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.433292' WHERE "spree_products"."id" = 223 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.434688' WHERE "spree_products"."id" = 223  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 736 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.435675' WHERE "spree_products"."id" = 223 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 223) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 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 07:14:36.438922' WHERE "spree_products"."id" = 223 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 223 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 01 Oct 2012 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.608831' WHERE "spree_products"."id" = 224 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 224], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.610394' WHERE "spree_products"."id" = 224  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 737 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.612185' WHERE "spree_products"."id" = 224  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 224  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' 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 07:14:36 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["product_id", nil], ["property_id", 183], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 224, "updated_at" = '2012-10-01 07:14:36.620593' WHERE "spree_product_properties"."id" = 220 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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, 01 Oct 2012 07:14:36 UTC +00:00], ["product_id", nil], ["property_id", 182], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 224, "updated_at" = '2012-10-01 07:14:36.625630' WHERE "spree_product_properties"."id" = 221 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["product_id", nil], ["property_id", 184], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 224, "updated_at" = '2012-10-01 07:14:36.631304' WHERE "spree_product_properties"."id" = 222 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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 07:14:36 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 275 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 275], ["updated_at", Mon, 01 Oct 2012 07:14: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" = 224 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (224, 475) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 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" = 272 AND "spree_taxons"."parent_id" = 469 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (224, 470)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (224, 469) 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" != 224) 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" = 224 AND "spree_option_types"."id" = 135 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" = 224) ORDER BY position DESC 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 07:14:36 UTC +00:00], ["option_type_id", 135], ["position", 1], ["product_id", 224], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 135 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.655201' WHERE "spree_products"."id" = 224 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 224], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.656585' WHERE "spree_products"."id" = 224  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (238, 738) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 224]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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" = 224 AND "spree_option_types"."id" = 135 ORDER 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" = 135 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.665679' WHERE "spree_products"."id" = 224 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 224], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.667046' WHERE "spree_products"."id" = 224  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (239, 739) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 224]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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" = 224 AND "spree_option_types"."id" = 135 ORDER 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" = 135 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.675653' WHERE "spree_products"."id" = 224 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 224], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.677009' WHERE "spree_products"."id" = 224  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (240, 740) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 224]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:14:36 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" = 224 AND "spree_option_types"."id" = 136 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" = 224) ORDER BY position DESC 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 07:14:36 UTC +00:00], ["option_type_id", 136], ["position", 2], ["product_id", 224], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 136 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" = 136) 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 07:14:36 UTC +00:00], ["name", "black_white"], ["option_type_id", 136], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.696919' WHERE "spree_products"."id" = 224 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 224], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.699282' WHERE "spree_products"."id" = 224  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (741, 241) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 224]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) 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" = 224 AND "spree_option_types"."id" = 136 ORDER 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" = 136 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" = 136) 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 07:14:36 UTC +00:00], ["name", "colour"], ["option_type_id", 136], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.719479' WHERE "spree_products"."id" = 224 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 224], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.722395' WHERE "spree_products"."id" = 224  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (742, 242) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 224]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 738 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 739 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 740 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 741 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 742 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" != 224) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.746291' WHERE "spree_products"."id" = 224  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 738 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.747469' WHERE "spree_products"."id" = 224 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.749012' WHERE "spree_products"."id" = 224  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 739 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.750004' WHERE "spree_products"."id" = 224 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.751362' WHERE "spree_products"."id" = 224  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 740 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.752366' WHERE "spree_products"."id" = 224 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.753792' WHERE "spree_products"."id" = 224  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 741 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.754767' WHERE "spree_products"."id" = 224 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.756076' WHERE "spree_products"."id" = 224  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 742 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.757036' WHERE "spree_products"."id" = 224 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 224) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 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 07:14:36.760314' WHERE "spree_products"."id" = 224 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 224 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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" = 222 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" = 222 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" = 223 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" = 223 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" = 272 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" = 469 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 473 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 473 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 474 ORDER BY "lft" SQL (3.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (4.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.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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 07:14: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", 276], ["updated_at", Mon, 01 Oct 2012 07:14:36 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 276], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (4.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:14:36.859186', "parent_id" = 476 WHERE "spree_taxons"."id" = 477 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 476]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 477]] 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 = 477 THEN 476 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 476]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 477]]  (5.3ms) 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" = 476 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.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 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.889114' WHERE "spree_products"."id" = 225 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 225], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.890697' WHERE "spree_products"."id" = 225  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 743 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.892216' WHERE "spree_products"."id" = 225  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 225  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' 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 07:14:36 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:14: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", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["product_id", nil], ["property_id", 185], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 225, "updated_at" = '2012-10-01 07:14:36.900923' WHERE "spree_product_properties"."id" = 223 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" != 225) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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" = 225 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (225, 476) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 225) 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, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 277 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 277], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (225, 478) 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" != 225) 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", Mon, 01 Oct 2012 07:14:36 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:14: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" = 225 AND "spree_option_types"."id" = 137 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" = 225) ORDER BY position DESC 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 07:14:36 UTC +00:00], ["option_type_id", 137], ["position", 1], ["product_id", 225], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 137 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" = 137) ORDER BY position 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 07:14:36 UTC +00:00], ["name", "jpeg"], ["option_type_id", 137], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.931882' WHERE "spree_products"."id" = 225 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 225], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.933290' WHERE "spree_products"."id" = 225  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (243, 744) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 225]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 225) 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" = 225 AND "spree_option_types"."id" = 137 ORDER 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" = 137 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" = 137) ORDER BY position 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 07:14:36 UTC +00:00], ["name", "PDF"], ["option_type_id", 137], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.946896' WHERE "spree_products"."id" = 225 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 225], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.948421' WHERE "spree_products"."id" = 225  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (745, 244) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 225]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 225) 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" = 225 AND "spree_option_types"."id" = 137 ORDER 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" = 137 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" = 137) ORDER BY position 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 07:14:36 UTC +00:00], ["name", "PNG"], ["option_type_id", 137], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:36 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.960062' WHERE "spree_products"."id" = 225 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 225], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.962776' WHERE "spree_products"."id" = 225  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (746, 245) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 225]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 225) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 744 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 745 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 746 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" != 225) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.984454' WHERE "spree_products"."id" = 225  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 744 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.985703' WHERE "spree_products"."id" = 225 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.987093' WHERE "spree_products"."id" = 225  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 745 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.988105' WHERE "spree_products"."id" = 225 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.989508' WHERE "spree_products"."id" = 225  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 746 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:36.990463' WHERE "spree_products"."id" = 225 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" != 225) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 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 07:14:36.993938' WHERE "spree_products"."id" = 225 Current value to assign : DEMO_002 Current value to 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, 01 Oct 2012 07:14: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 07:14:36 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.001957' WHERE "spree_products"."id" = 226 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 226], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.003222' WHERE "spree_products"."id" = 226  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 747 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.004704' WHERE "spree_products"."id" = 226  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 226  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:14: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, 01 Oct 2012 07:14:37 UTC +00:00], ["product_id", nil], ["property_id", 186], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 226, "updated_at" = '2012-10-01 07:14:37.160537' WHERE "spree_product_properties"."id" = 224 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" != 226) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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" = 226 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 476) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 226) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 278 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 278], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 479) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 226) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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" = 276 AND "spree_taxons"."parent_id" = 476 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", 476]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Nature"], ["parent_id", 476], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 276], ["updated_at", Mon, 01 Oct 2012 07:14: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", 476]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 480]] 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 = 480 THEN 476 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 476]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 480]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 AND "spree_taxons"."parent_id" = 480 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", 480]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Seascape"], ["parent_id", 480], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 276], ["updated_at", Mon, 01 Oct 2012 07:14: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", 480]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 481]] 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 = 481 THEN 480 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 480]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 481]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 480)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 481) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 226) 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" = 226 AND "spree_option_types"."id" = 137 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" = 226) ORDER BY position DESC 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 07:14:37 UTC +00:00], ["option_type_id", 137], ["position", 1], ["product_id", 226], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 137 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.205073' WHERE "spree_products"."id" = 226 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 226], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.206492' WHERE "spree_products"."id" = 226  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (243, 748) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 226]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 226) 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" = 226 AND "spree_option_types"."id" = 137 ORDER 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" = 137 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.215457' WHERE "spree_products"."id" = 226 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 226], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.216796' WHERE "spree_products"."id" = 226  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (244, 749) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 226]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 226) 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" = 226 AND "spree_option_types"."id" = 137 ORDER 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" = 137 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.225371' WHERE "spree_products"."id" = 226 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 226], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.226738' WHERE "spree_products"."id" = 226  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (750, 245) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 226]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 226) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 748 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 749 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 750 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" != 226) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.248224' WHERE "spree_products"."id" = 226  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 748 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.250590' WHERE "spree_products"."id" = 226 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.253009' WHERE "spree_products"."id" = 226  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 749 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.254526' WHERE "spree_products"."id" = 226 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.256670' WHERE "spree_products"."id" = 226  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 750 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.257930' WHERE "spree_products"."id" = 226 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" != 226) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 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 07:14:37.264795' WHERE "spree_products"."id" = 226 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:14: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, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.278929' WHERE "spree_products"."id" = 227 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 227], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.280673' WHERE "spree_products"."id" = 227  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 751 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.282896' WHERE "spree_products"."id" = 227  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 227  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' 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 07:14:37 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:14: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, 01 Oct 2012 07:14:37 UTC +00:00], ["product_id", nil], ["property_id", 187], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 227, "updated_at" = '2012-10-01 07:14:37.294353' WHERE "spree_product_properties"."id" = 225 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["product_id", nil], ["property_id", 186], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 227, "updated_at" = '2012-10-01 07:14:37.300802' WHERE "spree_product_properties"."id" = 226 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:14: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, 01 Oct 2012 07:14:37 UTC +00:00], ["product_id", nil], ["property_id", 188], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 227, "updated_at" = '2012-10-01 07:14:37.306997' WHERE "spree_product_properties"."id" = 227 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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 07:14:37 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 279 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 279], ["updated_at", Mon, 01 Oct 2012 07:14: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" = 227 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 482) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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" = 276 AND "spree_taxons"."parent_id" = 476 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 477)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 476) 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" != 227) 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" = 227 AND "spree_option_types"."id" = 137 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" = 227) ORDER BY position DESC 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 07:14:37 UTC +00:00], ["option_type_id", 137], ["position", 1], ["product_id", 227], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 137 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.328736' WHERE "spree_products"."id" = 227 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 227], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.330263' WHERE "spree_products"."id" = 227  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (243, 752) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 227]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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" = 227 AND "spree_option_types"."id" = 137 ORDER 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" = 137 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.339094' WHERE "spree_products"."id" = 227 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 227], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.340458' WHERE "spree_products"."id" = 227  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (753, 244) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 227]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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" = 227 AND "spree_option_types"."id" = 137 ORDER 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" = 137 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.349896' WHERE "spree_products"."id" = 227 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 227], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.351259' WHERE "spree_products"."id" = 227  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (245, 754) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 227]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:14: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" = 227 AND "spree_option_types"."id" = 138 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" = 227) ORDER BY position DESC 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 07:14:37 UTC +00:00], ["option_type_id", 138], ["position", 2], ["product_id", 227], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 138 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" = 138) ORDER BY position 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 07:14:37 UTC +00:00], ["name", "black_white"], ["option_type_id", 138], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.365149' WHERE "spree_products"."id" = 227 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 227], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.366480' WHERE "spree_products"."id" = 227  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (246, 755) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 227]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) 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.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" = 227 AND "spree_option_types"."id" = 138 ORDER 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" = 138 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" = 138) 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 07:14:37 UTC +00:00], ["name", "colour"], ["option_type_id", 138], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.378964' WHERE "spree_products"."id" = 227 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 227], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.380785' WHERE "spree_products"."id" = 227  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (247, 756) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 227]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 227) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 752 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 753 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 754 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 755 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 756 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" != 227) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.408025' WHERE "spree_products"."id" = 227  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 752 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.409865' WHERE "spree_products"."id" = 227 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.412169' WHERE "spree_products"."id" = 227  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 753 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.413807' WHERE "spree_products"."id" = 227 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.415804' WHERE "spree_products"."id" = 227  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 754 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.417008' WHERE "spree_products"."id" = 227 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.418602' WHERE "spree_products"."id" = 227  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 755 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.419689' WHERE "spree_products"."id" = 227 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.421119' WHERE "spree_products"."id" = 227  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 756 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.422508' WHERE "spree_products"."id" = 227 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" != 227) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 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 07:14:37.427611' WHERE "spree_products"."id" = 227  (56.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" = 225 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" = 225 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" = 226 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" = 226 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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" = 476 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 480 LIMIT 1 Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 480 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 481 ORDER BY "lft" SQL (3.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.6ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.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 (4.6ms) DELETE FROM "spree_taxonomies" SQL (3.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.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.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 07:14: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, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 228 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.602365' WHERE "spree_products"."id" = 228 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 228], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.604810' WHERE "spree_products"."id" = 228  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 757 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.607021' WHERE "spree_products"."id" = 228  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 228 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 228 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 228  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 228 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", Mon, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 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 07:14: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", 280], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 AND "spree_taxons"."parent_id" = 483 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", 483]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 483], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 280], ["updated_at", Mon, 01 Oct 2012 07:14: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", 483]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 484]] 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 = 484 THEN 483 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 483]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 484]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 228 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (484, 228)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (483, 228) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 228) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 281 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 281], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (485, 228) 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" != 228) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 757 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" != 228) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-01 07:14:37.795215' WHERE "spree_products"."id" = 228  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 757 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.797248' WHERE "spree_products"."id" = 228 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 228 Row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320Paintings>LandscapeWaterColour2 succesfully SAVED : ID 228 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", Mon, 01 Oct 2012 07:14:37 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, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 229 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.806569' WHERE "spree_products"."id" = 229 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 229], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.807979' WHERE "spree_products"."id" = 229  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 758 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.809609' WHERE "spree_products"."id" = 229  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 229 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 229 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 229  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 229 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" = 280 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" = 229 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 483) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 229) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 8], ["taxonomy_id", 282], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 486) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 229) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 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" = 280 AND "spree_taxons"."parent_id" = 483 AND "spree_taxons"."name" = 'Nature' 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", 483]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Nature"], ["parent_id", 483], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 280], ["updated_at", Mon, 01 Oct 2012 07:14: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", 483]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 487]] 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 = 487 THEN 483 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 483]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 487]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 AND "spree_taxons"."parent_id" = 487 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", 487]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Landscape"], ["parent_id", 487], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 280], ["updated_at", Mon, 01 Oct 2012 07:14: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", 487]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 488]] SQL (0.1ms) 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 = 488 THEN 487 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 487]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 488]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 487)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 488) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 229) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 758 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" != 229) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 07:14:37.847266' WHERE "spree_products"."id" = 229  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 758 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.849150' WHERE "spree_products"."id" = 229 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 229 Row test_ct_002Demo Excel Loadless blah2011-05-1410030PaintingsOilsPaintings>Nature>Landscape5 succesfully SAVED : ID 229 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.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 07:14: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, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 230 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.857800' WHERE "spree_products"."id" = 230 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 230], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.859115' WHERE "spree_products"."id" = 230  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 759 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.860599' WHERE "spree_products"."id" = 230  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 230 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 230 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 230  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 230 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 283 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 283], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 283 AND "spree_taxons"."parent_id" = 489 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", 489]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:37 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", 489], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 283], ["updated_at", Mon, 01 Oct 2012 07:14: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", 489]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 490]] 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 = 490 THEN 489 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 489]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 490]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 230 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (490, 230)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (489, 230) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 230) 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, 01 Oct 2012 07:14:37 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 284 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:37 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", 284], ["updated_at", Mon, 01 Oct 2012 07:14:37 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (491, 230) 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" != 230) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 759 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" != 230) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-01 07:14:37.891744' WHERE "spree_products"."id" = 230  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 759 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.893566' WHERE "spree_products"."id" = 230 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 230 Row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 succesfully SAVED : ID 230 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", Mon, 01 Oct 2012 07:14:37 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, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 231 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.901925' WHERE "spree_products"."id" = 231 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 231], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.903218' WHERE "spree_products"."id" = 231  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 760 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.904774' WHERE "spree_products"."id" = 231  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 231 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 231 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 231  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 231 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" = 283 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" = 283 AND "spree_taxons"."parent_id" = 489 AND "spree_taxons"."name" = 'Landscape' 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" = 231 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 490)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 489) 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" != 231) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 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" = 280 AND "spree_taxons"."parent_id" = 483 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 AND "spree_taxons"."parent_id" = 487 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", 487]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:37 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", 487], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 280], ["updated_at", Mon, 01 Oct 2012 07:14: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", 487]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 492]] SQL (0.2ms) 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 = 492 THEN 487 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 487]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 492]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 AND "spree_taxons"."parent_id" = 492 AND "spree_taxons"."name" = 'Cliffs' 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", 492]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:37 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", 492], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 280], ["updated_at", Mon, 01 Oct 2012 07:14: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", 492]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 493]] 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 = 493 THEN 492 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 492]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 493]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 487)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 492)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 493)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 483) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 231) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 760 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" != 231) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:14:37.936238' WHERE "spree_products"."id" = 231  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 760 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.938038' WHERE "spree_products"."id" = 231 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 231 Row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 succesfully SAVED : ID 231 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.0ms) 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, 01 Oct 2012 07:14:37 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, 01 Oct 2012 07:14:37 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 232 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.946159' WHERE "spree_products"."id" = 232 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 232], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.947487' WHERE "spree_products"."id" = 232  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.948978' WHERE "spree_products"."id" = 232  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 232 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 232 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 232  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 232 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" = 283 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" = 283 AND "spree_taxons"."parent_id" = 489 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 283 AND "spree_taxons"."parent_id" = 490 AND "spree_taxons"."name" = 'Bristol' 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", 490]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:37 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", 490], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 283], ["updated_at", Mon, 01 Oct 2012 07:14: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", 490]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 494]] SQL (0.2ms) 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 = 494 THEN 490 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 490]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 494]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 232 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (490, 232)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (494, 232)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (489, 232) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 232) 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" = 282 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 (486, 232) 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" != 232) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 761 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" != 232) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:14:37.971707' WHERE "spree_products"."id" = 232  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 761 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:37.973520' WHERE "spree_products"."id" = 232 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 232 Row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 succesfully SAVED : ID 232 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (66.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.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 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" = 281 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" = 282 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" = 283 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" = 284 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 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" = 483 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 483) 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" = 487 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 487) 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" != 487) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 483 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 487 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"."parent_id" = 492 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" = 493 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" != 492) 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" = 283 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 283 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 490 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 490 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" = 494 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" != 494) 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" = 282 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 282 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" = 486 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" = 284 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 284 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" = 491 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.8ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) 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.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", Mon, 01 Oct 2012 07:14: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, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 233 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.150927' WHERE "spree_products"."id" = 233 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 233], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.152479' WHERE "spree_products"."id" = 233  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 762 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.154005' WHERE "spree_products"."id" = 233  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 233 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 233 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 233  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 233 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, 01 Oct 2012 07:14:38 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 285], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 AND "spree_taxons"."parent_id" = 495 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", 495]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 495], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 285], ["updated_at", Mon, 01 Oct 2012 07:14: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", 495]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 496]] 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 = 496 THEN 495 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 495]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 496]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 233 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 496)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 495) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 233) 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, 01 Oct 2012 07:14:38 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 286 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 07:14: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", 286], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 497) 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" != 233) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 762 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" != 233) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-01 07:14:38.188843' WHERE "spree_products"."id" = 233  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 762 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.190892' WHERE "spree_products"."id" = 233 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 233 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, 01 Oct 2012 07:14:38 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, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 234 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.199650' WHERE "spree_products"."id" = 234 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 234], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.200967' WHERE "spree_products"."id" = 234  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 763 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.202517' WHERE "spree_products"."id" = 234  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 234 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 234 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 234  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 234 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" = 285 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" = 234 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (495, 234) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 234) 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, 01 Oct 2012 07:14:38 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 287 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 287], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (498, 234) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 234) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 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" = 285 AND "spree_taxons"."parent_id" = 495 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", 495]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", 495], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 285], ["updated_at", Mon, 01 Oct 2012 07:14: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", 495]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 499]] 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 = 499 THEN 495 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 495]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 499]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 AND "spree_taxons"."parent_id" = 499 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", 499]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Landscape"], ["parent_id", 499], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 285], ["updated_at", Mon, 01 Oct 2012 07:14: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", 499]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 500]] 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 = 500 THEN 499 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 499]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 500]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (499, 234)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (500, 234) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 234) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 763 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 234) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 07:14:38.392151' WHERE "spree_products"."id" = 234  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 763 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.394121' WHERE "spree_products"."id" = 234 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 234 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.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 07:14: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, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 235 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.403213' WHERE "spree_products"."id" = 235 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 235], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.404589' WHERE "spree_products"."id" = 235  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.406329' WHERE "spree_products"."id" = 235  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 235 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 235 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 235  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 235 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, 01 Oct 2012 07:14:38 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 288 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 288], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 288 AND "spree_taxons"."parent_id" = 501 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", 501]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:38 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", 501], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 288], ["updated_at", Mon, 01 Oct 2012 07:14: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", 501]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 502]] 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 = 502 THEN 501 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 501]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 502]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 235 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (235, 502)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (235, 501) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 235) 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, 01 Oct 2012 07:14:38 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 289 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:38 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", 289], ["updated_at", Mon, 01 Oct 2012 07:14:38 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (235, 503) 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" != 235) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 764 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 235) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-01 07:14:38.438645' WHERE "spree_products"."id" = 235  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 764 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.440521' WHERE "spree_products"."id" = 235 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 235 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.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", Mon, 01 Oct 2012 07:14:38 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, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 236 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.449117' WHERE "spree_products"."id" = 236 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 236], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.450540' WHERE "spree_products"."id" = 236  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 765 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.452117' WHERE "spree_products"."id" = 236  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 236 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 236 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 236  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 236 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" = 288 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" = 288 AND "spree_taxons"."parent_id" = 501 AND "spree_taxons"."name" = 'Landscape' 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" = 236 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (502, 236)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (501, 236) 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" != 236) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 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" = 285 AND "spree_taxons"."parent_id" = 495 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 AND "spree_taxons"."parent_id" = 499 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", 499]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:38 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", 499], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 285], ["updated_at", Mon, 01 Oct 2012 07:14: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", 499]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 504]] SQL (0.2ms) 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 = 504 THEN 499 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 499]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 504]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 AND "spree_taxons"."parent_id" = 504 AND "spree_taxons"."name" = 'Cliffs' 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", 504]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:38 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", 504], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 285], ["updated_at", Mon, 01 Oct 2012 07:14: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", 504]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 505]] 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 = 505 THEN 504 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 504]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 505]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (499, 236)  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (504, 236)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (505, 236)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (495, 236) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 236) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 765 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 236) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:14:38.485285' WHERE "spree_products"."id" = 236  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 765 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.487113' WHERE "spree_products"."id" = 236 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 236 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.0ms) 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, 01 Oct 2012 07:14:38 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, 01 Oct 2012 07:14:38 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 237 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.495346' WHERE "spree_products"."id" = 237 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 237], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.496737' WHERE "spree_products"."id" = 237  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 766 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.498356' WHERE "spree_products"."id" = 237  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 237 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 237 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 237  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 237 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" = 288 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" = 288 AND "spree_taxons"."parent_id" = 501 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 288 AND "spree_taxons"."parent_id" = 502 AND "spree_taxons"."name" = 'Bristol' 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", 502]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:14:38 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", 502], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 288], ["updated_at", Mon, 01 Oct 2012 07:14: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", 502]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 506]] SQL (0.2ms) 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 = 506 THEN 502 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 502]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 506]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 237 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (237, 502)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (237, 506)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (237, 501) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 237) 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" = 287 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 (237, 498) 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" != 237) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 766 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" != 237) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:14:38.523307' WHERE "spree_products"."id" = 237  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 766 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:14:38.526695' WHERE "spree_products"."id" = 237 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 237  (91.6ms) 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" = 285 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" = 286 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" = 287 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" = 288 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" = 289 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" = 285 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 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" = 495 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 495) 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.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 499 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 499) 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" != 499) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 495 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 499 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"."parent_id" = 504 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" = 505 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" != 504) 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" = 288 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 288 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 502 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 502 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" = 506 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" != 506) 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" = 287 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 287 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" = 498 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" = 289 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 289 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" = 503 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (3.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 (2.5ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (5.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 290 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 07:15: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", 290], ["updated_at", Mon, 01 Oct 2012 07:15:14 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, 01 Oct 2012 07:15:14 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", 290], ["updated_at", Mon, 01 Oct 2012 07:15:14 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", Mon, 01 Oct 2012 07:15:14 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", 290], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (5.2ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.8ms) 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 (9.5ms) DELETE FROM "spree_option_values" SQL (3.8ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 291 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 291], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (3.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", Mon, 01 Oct 2012 07:15:14 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", 291], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (4.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, 01 Oct 2012 07:15:14 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", 291], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (4.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" = 291 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 291 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 291 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.4ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (3.3ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 292 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 07:15: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", 292], ["updated_at", Mon, 01 Oct 2012 07:15:14 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 292], ["updated_at", Mon, 01 Oct 2012 07:15:14 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 (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 292], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (5.0ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (3.0ms) 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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 293 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 293], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (5.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", Mon, 01 Oct 2012 07:15: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", 293], ["updated_at", Mon, 01 Oct 2012 07:15:14 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.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 07:15: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", 293], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (4.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (4.7ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 294 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 07:15: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", 294], ["updated_at", Mon, 01 Oct 2012 07:15:14 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", Mon, 01 Oct 2012 07:15: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", 294], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (4.5ms) 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", Mon, 01 Oct 2012 07:15: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", 294], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]]  (4.8ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.5ms) DELETE FROM "spree_option_types" SQL (4.5ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (2.9ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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 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.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", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.843059' WHERE "spree_products"."id" = 238 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 238], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.845476' WHERE "spree_products"."id" = 238  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 767 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.850581' WHERE "spree_products"."id" = 238  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 238  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 'f' 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 07:15:14 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15:14 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 07:15:14 UTC +00:00], ["product_id", nil], ["property_id", 189], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 238, "updated_at" = '2012-10-01 07:15:14.878195' WHERE "spree_product_properties"."id" = 228 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" != 238) 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 07:15:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 295 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 295], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 238 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (238, 522) 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 07:15:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 296 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 296], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (238, 523) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 238) 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", Mon, 01 Oct 2012 07:15:14 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:14 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" = 238 AND "spree_option_types"."id" = 139 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" = 238) 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 07:15:14 UTC +00:00], ["option_type_id", 139], ["position", 1], ["product_id", 238], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 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" = 139) 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 07:15:14 UTC +00:00], ["name", "jpeg"], ["option_type_id", 139], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.938899' WHERE "spree_products"."id" = 238 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 238], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.940280' WHERE "spree_products"."id" = 238  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (248, 768) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 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" = 139) 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 07:15:14 UTC +00:00], ["name", "PDF"], ["option_type_id", 139], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.950195' WHERE "spree_products"."id" = 238 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 238], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.952408' WHERE "spree_products"."id" = 238  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (769, 249) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 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" = 139) ORDER BY position 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 07:15:14 UTC +00:00], ["name", "PNG"], ["option_type_id", 139], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.959139' WHERE "spree_products"."id" = 238 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 238], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.960525' WHERE "spree_products"."id" = 238  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (250, 770) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 238]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 238) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 768 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 769 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 770 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" != 238) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.993083' WHERE "spree_products"."id" = 238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 768 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.994247' WHERE "spree_products"."id" = 238 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.995688' WHERE "spree_products"."id" = 238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 769 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.996679' WHERE "spree_products"."id" = 238 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.997982' WHERE "spree_products"."id" = 238  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 770 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:14.998946' WHERE "spree_products"."id" = 238 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 238) 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" = 767 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 767) 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, 01 Oct 2012 07:15:15 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 767], ["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" != 238) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 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 07:15:15.565288' WHERE "spree_products"."id" = 238 Current 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.3ms) INSERT INTO "spree_products" ("available_on", "count_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 07:15: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 07:15:15 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.579418' WHERE "spree_products"."id" = 239 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 239], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.581769' WHERE "spree_products"."id" = 239  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 771 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.583881' WHERE "spree_products"."id" = 239  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 239  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 'f' 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 07:15:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:15 UTC +00:00], ["product_id", nil], ["property_id", 190], ["updated_at", Mon, 01 Oct 2012 07:15:15 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 239, "updated_at" = '2012-10-01 07:15:15.593654' WHERE "spree_product_properties"."id" = 229 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" != 239) 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" = 295 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" = 239 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (239, 522) 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 07:15:15 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:15:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 297 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 297], ["updated_at", Mon, 01 Oct 2012 07:15:15 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (239, 524) 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 07:15:15 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 298], ["updated_at", Mon, 01 Oct 2012 07:15:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (239, 525) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 239) 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" = 239 AND "spree_option_types"."id" = 139 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" = 239) 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 07:15:15 UTC +00:00], ["option_type_id", 139], ["position", 1], ["product_id", 239], ["updated_at", Mon, 01 Oct 2012 07:15:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.634133' WHERE "spree_products"."id" = 239 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 239], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.636890' WHERE "spree_products"."id" = 239  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (248, 772) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.643159' WHERE "spree_products"."id" = 239 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 239], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.644778' WHERE "spree_products"."id" = 239  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (773, 249) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.650333' WHERE "spree_products"."id" = 239 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 239], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.652450' WHERE "spree_products"."id" = 239  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (774, 250) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 239]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 239) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 772 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 773 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 774 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" != 239) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.671306' WHERE "spree_products"."id" = 239  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 772 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.672986' WHERE "spree_products"."id" = 239 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.674949' WHERE "spree_products"."id" = 239  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 773 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.676140' WHERE "spree_products"."id" = 239 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.678268' WHERE "spree_products"."id" = 239  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 774 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:15.679909' WHERE "spree_products"."id" = 239 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 239) 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" = 771 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 771) 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 07:15:15 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 771], ["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" != 239) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 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 07:15:17.320469' WHERE "spree_products"."id" = 239 Current value 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", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.336193' WHERE "spree_products"."id" = 240 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", 240], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.337898' WHERE "spree_products"."id" = 240  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 775 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.339768' WHERE "spree_products"."id" = 240  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 240  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' 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 07:15:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:17 UTC +00:00], ["product_id", nil], ["property_id", 191], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 240, "updated_at" = '2012-10-01 07:15:17.349720' WHERE "spree_product_properties"."id" = 230 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 07:15:17 UTC +00:00], ["product_id", nil], ["property_id", 190], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 240, "updated_at" = '2012-10-01 07:15:17.354630' WHERE "spree_product_properties"."id" = 231 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 07:15:17 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:17 UTC +00:00], ["product_id", nil], ["property_id", 192], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 240, "updated_at" = '2012-10-01 07:15:17.361313' WHERE "spree_product_properties"."id" = 232 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 240) 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 07:15:17 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 299 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 299], ["updated_at", Mon, 01 Oct 2012 07:15:17 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" = 240 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (526, 240) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 240) 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" = 240 AND "spree_option_types"."id" = 139 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" = 240) ORDER BY position DESC 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 07:15:17 UTC +00:00], ["option_type_id", 139], ["position", 1], ["product_id", 240], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.383076' WHERE "spree_products"."id" = 240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 240], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.384666' WHERE "spree_products"."id" = 240  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (776, 248) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.388380' WHERE "spree_products"."id" = 240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 240], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.389759' WHERE "spree_products"."id" = 240  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (249, 777) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 139 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.393150' WHERE "spree_products"."id" = 240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 240], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.394519' WHERE "spree_products"."id" = 240  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (778, 250) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 240]] 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 07:15:17 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:17 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" = 240 AND "spree_option_types"."id" = 140 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" = 240) ORDER BY position DESC 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 07:15:17 UTC +00:00], ["option_type_id", 140], ["position", 2], ["product_id", 240], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 140 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" = 140) ORDER BY position 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 07:15:17 UTC +00:00], ["name", "black_white"], ["option_type_id", 140], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.409878' WHERE "spree_products"."id" = 240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 240], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.411369' WHERE "spree_products"."id" = 240  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (251, 779) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 140 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" = 140) ORDER BY position 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 07:15:17 UTC +00:00], ["name", "colour"], ["option_type_id", 140], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.418709' WHERE "spree_products"."id" = 240 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 240], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.420462' WHERE "spree_products"."id" = 240  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (252, 780) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 240]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 240) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 776 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 777 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 779 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 780 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" != 240) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.442207' WHERE "spree_products"."id" = 240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 776 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.443793' WHERE "spree_products"."id" = 240 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.445687' WHERE "spree_products"."id" = 240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 777 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.446926' WHERE "spree_products"."id" = 240 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.448590' WHERE "spree_products"."id" = 240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 778 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.449770' WHERE "spree_products"."id" = 240 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.451348' WHERE "spree_products"."id" = 240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 779 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.452454' WHERE "spree_products"."id" = 240 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.646774' WHERE "spree_products"."id" = 240  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 780 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:17.648344' WHERE "spree_products"."id" = 240 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 240) 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" = 775 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 775) 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 07:15:17 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 775], ["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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 240) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 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 07:15:18.067703' WHERE "spree_products"."id" = 240  (6.2ms) 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.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 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 = 767) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 238)) Spree::Image Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 767 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" = 238 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 = 767) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 238)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 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 = 771) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 239)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 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 = 775) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 240))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.4ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (4.8ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (4.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.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, 01 Oct 2012 07:15: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 07:15:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.205266' WHERE "spree_products"."id" = 241 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 241], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.206990' WHERE "spree_products"."id" = 241  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 781 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.208721' WHERE "spree_products"."id" = 241  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 241  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 'f' 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 07:15:18 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:18 UTC +00:00], ["product_id", nil], ["property_id", 193], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 241, "updated_at" = '2012-10-01 07:15:18.217856' WHERE "spree_product_properties"."id" = 233 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" != 241) 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 07:15:18 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 300 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 07:15: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", 300], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 241 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (527, 241) 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 07:15:18 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 301 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 301], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (528, 241) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 241) 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, 01 Oct 2012 07:15:18 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:18 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" = 241 AND "spree_option_types"."id" = 141 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" = 241) ORDER BY position DESC 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 07:15:18 UTC +00:00], ["option_type_id", 141], ["position", 1], ["product_id", 241], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 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" = 141) ORDER BY position 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 07:15:18 UTC +00:00], ["name", "jpeg"], ["option_type_id", 141], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.252111' WHERE "spree_products"."id" = 241 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 241], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.253580' WHERE "spree_products"."id" = 241  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (782, 253) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 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" = 141) ORDER BY position 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 07:15:18 UTC +00:00], ["name", "PDF"], ["option_type_id", 141], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.258936' WHERE "spree_products"."id" = 241 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 241], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.260218' WHERE "spree_products"."id" = 241  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (783, 254) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 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" = 141) ORDER BY position 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 07:15:18 UTC +00:00], ["name", "PNG"], ["option_type_id", 141], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.265393' WHERE "spree_products"."id" = 241 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 241], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.266731' WHERE "spree_products"."id" = 241  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (255, 784) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 241]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 241) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 782 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 783 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 784 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" != 241) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.284879' WHERE "spree_products"."id" = 241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 782 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.286347' WHERE "spree_products"."id" = 241 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.288157' WHERE "spree_products"."id" = 241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 783 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.289329' WHERE "spree_products"."id" = 241 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.291063' WHERE "spree_products"."id" = 241  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 784 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.292276' WHERE "spree_products"."id" = 241 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 241) 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" = 781 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" = 781) 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 07:15:18 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 781], ["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" != 241) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 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 07:15:18.649394' WHERE "spree_products"."id" = 241 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 241 Current value to assign : DEMO_002 Current value to 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 07:15: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 07:15:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.662545' WHERE "spree_products"."id" = 242 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 242], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.664428' WHERE "spree_products"."id" = 242  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 785 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.666330' WHERE "spree_products"."id" = 242  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 242  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 'f' 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 07:15:18 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:18 UTC +00:00], ["product_id", nil], ["property_id", 194], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 242, "updated_at" = '2012-10-01 07:15:18.676081' WHERE "spree_product_properties"."id" = 234 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" != 242) 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" = 300 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" = 242 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (242, 527) 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", Mon, 01 Oct 2012 07:15:18 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 302], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (242, 529) 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 07:15:18 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 303 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 303], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (242, 530) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 242) 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" = 242 AND "spree_option_types"."id" = 141 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" = 242) ORDER BY position DESC 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 07:15:18 UTC +00:00], ["option_type_id", 141], ["position", 1], ["product_id", 242], ["updated_at", Mon, 01 Oct 2012 07:15:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.714078' WHERE "spree_products"."id" = 242 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 242], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.715729' WHERE "spree_products"."id" = 242  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (253, 786) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.720485' WHERE "spree_products"."id" = 242 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 242], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.722220' WHERE "spree_products"."id" = 242  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (254, 787) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.725916' WHERE "spree_products"."id" = 242 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 242], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.727273' WHERE "spree_products"."id" = 242  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (788, 255) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 242]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 242) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 786 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 787 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 788 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" != 242) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.744498' WHERE "spree_products"."id" = 242  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 786 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.745821' WHERE "spree_products"."id" = 242 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.747444' WHERE "spree_products"."id" = 242  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 787 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.748543' WHERE "spree_products"."id" = 242 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.750124' WHERE "spree_products"."id" = 242  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 788 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:18.751557' WHERE "spree_products"."id" = 242 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 242) 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" = 785 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 785) 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 07:15:18 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 785], ["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" != 242) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 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 07:15:20.616989' WHERE "spree_products"."id" = 242 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 242 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:20 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.635896' WHERE "spree_products"."id" = 243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 243], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.638045' WHERE "spree_products"."id" = 243  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 789 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.640439' WHERE "spree_products"."id" = 243  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 243  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' 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 07:15:20 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:20 UTC +00:00], ["product_id", nil], ["property_id", 195], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 243, "updated_at" = '2012-10-01 07:15:20.656651' WHERE "spree_product_properties"."id" = 235 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 07:15:20 UTC +00:00], ["product_id", nil], ["property_id", 194], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 243, "updated_at" = '2012-10-01 07:15:20.661640' WHERE "spree_product_properties"."id" = 236 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 07:15:20 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:20 UTC +00:00], ["product_id", nil], ["property_id", 196], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 243, "updated_at" = '2012-10-01 07:15:20.667258' WHERE "spree_product_properties"."id" = 237 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 243) 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 07:15:20 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 304], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 243 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (531, 243) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 243) 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" = 243 AND "spree_option_types"."id" = 141 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" = 243) ORDER BY position DESC 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 07:15:20 UTC +00:00], ["option_type_id", 141], ["position", 1], ["product_id", 243], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.691086' WHERE "spree_products"."id" = 243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 243], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.692702' WHERE "spree_products"."id" = 243  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (790, 253) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.696962' WHERE "spree_products"."id" = 243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 243], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.698532' WHERE "spree_products"."id" = 243  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (254, 791) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 141 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.702526' WHERE "spree_products"."id" = 243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 243], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.704112' WHERE "spree_products"."id" = 243  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (255, 792) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 243]] 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 07:15:20 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:20 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" = 243 AND "spree_option_types"."id" = 142 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" = 243) ORDER BY position DESC 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 07:15:20 UTC +00:00], ["option_type_id", 142], ["position", 2], ["product_id", 243], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 142 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" = 142) ORDER BY position 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 07:15:20 UTC +00:00], ["name", "black_white"], ["option_type_id", 142], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.721547' WHERE "spree_products"."id" = 243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 243], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.723046' WHERE "spree_products"."id" = 243  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (793, 256) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 142 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" = 142) ORDER BY position 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 07:15:20 UTC +00:00], ["name", "colour"], ["option_type_id", 142], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:20 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.729220' WHERE "spree_products"."id" = 243 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 243], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.730631' WHERE "spree_products"."id" = 243  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (257, 794) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 243]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 243) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 790 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 791 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 792 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 793 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 794 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" != 243) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.755099' WHERE "spree_products"."id" = 243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 790 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.756564' WHERE "spree_products"."id" = 243 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.758194' WHERE "spree_products"."id" = 243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 791 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.759292' WHERE "spree_products"."id" = 243 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.760921' WHERE "spree_products"."id" = 243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 792 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.762109' WHERE "spree_products"."id" = 243 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.763742' WHERE "spree_products"."id" = 243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 793 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.764877' WHERE "spree_products"."id" = 243 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.766879' WHERE "spree_products"."id" = 243  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 794 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:20.767992' WHERE "spree_products"."id" = 243 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 243) 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" = 789 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.3ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 789) 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 07:15:20 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 789], ["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-third-row-in-future' AND "spree_products"."id" != 243) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 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 07:15:21.097678' WHERE "spree_products"."id" = 243 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 243 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::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" = 241 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 = 781) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 241)) 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" = 241 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 = 781) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 241)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 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 = 785) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 242)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 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 = 789) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 243))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_products" SQL (3.3ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (4.8ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.1ms) 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.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.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 07:15: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, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.217829' WHERE "spree_products"."id" = 244 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 244], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.219570' WHERE "spree_products"."id" = 244  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 795 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.221408' WHERE "spree_products"."id" = 244  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 244  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 'f' 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 07:15:21 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:21 UTC +00:00], ["product_id", nil], ["property_id", 197], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 244, "updated_at" = '2012-10-01 07:15:21.230666' WHERE "spree_product_properties"."id" = 238 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" != 244) 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, 01 Oct 2012 07:15:21 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 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 07:15: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", 305], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 244 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (532, 244) 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 07:15:21 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 306], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (533, 244) 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" != 244) 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", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 244 AND "spree_option_types"."id" = 143 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" = 244) ORDER BY position DESC 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 07:15:21 UTC +00:00], ["option_type_id", 143], ["position", 1], ["product_id", 244], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 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" = 143) ORDER BY position 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 07:15:21 UTC +00:00], ["name", "jpeg"], ["option_type_id", 143], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.463502' WHERE "spree_products"."id" = 244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 244], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.464984' WHERE "spree_products"."id" = 244  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (258, 796) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 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" = 143) ORDER BY position 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 07:15:21 UTC +00:00], ["name", "PDF"], ["option_type_id", 143], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.470898' WHERE "spree_products"."id" = 244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 244], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.472604' WHERE "spree_products"."id" = 244  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (797, 259) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 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" = 143) ORDER BY position 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 07:15:21 UTC +00:00], ["name", "PNG"], ["option_type_id", 143], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.478539' WHERE "spree_products"."id" = 244 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 244], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.479890' WHERE "spree_products"."id" = 244  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (798, 260) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 244]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 244) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 796 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 797 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 798 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" != 244) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.500293' WHERE "spree_products"."id" = 244  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 796 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.501716' WHERE "spree_products"."id" = 244 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.503574' WHERE "spree_products"."id" = 244  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 797 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.504761' WHERE "spree_products"."id" = 244 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.506238' WHERE "spree_products"."id" = 244  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 798 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.507261' WHERE "spree_products"."id" = 244 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 244) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 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 07:15:21.511198' WHERE "spree_products"."id" = 244 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 244 Current value to assign : DEMO_002 Current value to 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 07:15: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", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.520528' WHERE "spree_products"."id" = 245 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 245], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.521895' WHERE "spree_products"."id" = 245  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 799 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.523521' WHERE "spree_products"."id" = 245  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 245  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 'f' 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 07:15:21 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["product_id", nil], ["property_id", 198], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 245, "updated_at" = '2012-10-01 07:15:21.531221' WHERE "spree_product_properties"."id" = 239 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" != 245) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 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" = 245 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (532, 245) 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 07:15:21 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 307 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Oils"], ["parent_id", nil], ["permalink", "oils"], ["position", 0], ["rgt", 6], ["taxonomy_id", 307], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (534, 245) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 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" = 305 AND "spree_taxons"."parent_id" = 532 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", 532]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Nature"], ["parent_id", 532], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 305], ["updated_at", Mon, 01 Oct 2012 07:15:21 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", 532]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 535]] 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 = 535 THEN 532 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 532]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 535]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 AND "spree_taxons"."parent_id" = 535 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", 535]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Seascape"], ["parent_id", 535], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 305], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 535]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 536]] 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 = 536 THEN 535 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 535]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 536]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (535, 245)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (536, 245) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 245) 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" = 245 AND "spree_option_types"."id" = 143 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" = 245) ORDER BY position DESC 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 07:15:21 UTC +00:00], ["option_type_id", 143], ["position", 1], ["product_id", 245], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.573367' WHERE "spree_products"."id" = 245 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 245], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.574685' WHERE "spree_products"."id" = 245  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (258, 800) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.577677' WHERE "spree_products"."id" = 245 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 245], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.578862' WHERE "spree_products"."id" = 245  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (801, 259) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.581899' WHERE "spree_products"."id" = 245 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 245], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.583096' WHERE "spree_products"."id" = 245  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (802, 260) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 245]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 245) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 800 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 801 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 802 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" != 245) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.598143' WHERE "spree_products"."id" = 245  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 800 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.599339' WHERE "spree_products"."id" = 245 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.600696' WHERE "spree_products"."id" = 245  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 801 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.601695' WHERE "spree_products"."id" = 245 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.603039' WHERE "spree_products"."id" = 245  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 802 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.603993' WHERE "spree_products"."id" = 245 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 245) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 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 07:15:21.607186' WHERE "spree_products"."id" = 245 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 245 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:15: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", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.615511' WHERE "spree_products"."id" = 246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 246], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.616851' WHERE "spree_products"."id" = 246  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 803 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.618400' WHERE "spree_products"."id" = 246  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 246  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' 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 07:15:21 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["product_id", nil], ["property_id", 199], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 246, "updated_at" = '2012-10-01 07:15:21.625763' WHERE "spree_product_properties"."id" = 240 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 07:15:21 UTC +00:00], ["product_id", nil], ["property_id", 198], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 246, "updated_at" = '2012-10-01 07:15:21.628453' WHERE "spree_product_properties"."id" = 241 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 07:15:21 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["product_id", nil], ["property_id", 200], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 246, "updated_at" = '2012-10-01 07:15:21.632146' WHERE "spree_product_properties"."id" = 242 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 246) 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 07:15:21 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 308], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 246 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (537, 246) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 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" = 305 AND "spree_taxons"."parent_id" = 532 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", 532]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Landscape"], ["parent_id", 532], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 305], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 532]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 538]] SQL (0.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 = 538 THEN 532 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 532]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 538]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (538, 246)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (532, 246) 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" != 246) 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" = 246 AND "spree_option_types"."id" = 143 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" = 246) ORDER BY position DESC 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 07:15:21 UTC +00:00], ["option_type_id", 143], ["position", 1], ["product_id", 246], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.659577' WHERE "spree_products"."id" = 246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 246], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.660867' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (804, 258) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.663932' WHERE "spree_products"."id" = 246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 246], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.665135' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (259, 805) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 143 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.668065' WHERE "spree_products"."id" = 246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 246], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.669290' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (260, 806) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 246]] 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 07:15:21 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:21 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" = 246 AND "spree_option_types"."id" = 144 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" = 246) ORDER BY position DESC 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 07:15:21 UTC +00:00], ["option_type_id", 144], ["position", 2], ["product_id", 246], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 144 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" = 144) ORDER BY position 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 07:15:21 UTC +00:00], ["name", "black_white"], ["option_type_id", 144], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.682147' WHERE "spree_products"."id" = 246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 246], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.683407' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (807, 261) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 144 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" = 144) ORDER BY position 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 07:15:21 UTC +00:00], ["name", "colour"], ["option_type_id", 144], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:21 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.689356' WHERE "spree_products"."id" = 246 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 246], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.690588' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (262, 808) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 246]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 246) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 804 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 805 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 806 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 807 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 808 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" != 246) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.708151' WHERE "spree_products"."id" = 246  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 804 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.709952' WHERE "spree_products"."id" = 246 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.711764' WHERE "spree_products"."id" = 246  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 805 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.712970' WHERE "spree_products"."id" = 246 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.714628' WHERE "spree_products"."id" = 246  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 806 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.715916' WHERE "spree_products"."id" = 246 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.717558' WHERE "spree_products"."id" = 246  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 807 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.718759' WHERE "spree_products"."id" = 246 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.720168' WHERE "spree_products"."id" = 246  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 808 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:21.721161' WHERE "spree_products"."id" = 246 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 246) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 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 07:15:21.724614' WHERE "spree_products"."id" = 246 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 246 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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" = 246 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 = 803) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 246)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 246]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 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 = 803) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 246)) SQL (3.3ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.3ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (3.1ms) 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.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.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 07:15: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 07:15:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.044964' WHERE "spree_products"."id" = 247 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 247], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.047316' WHERE "spree_products"."id" = 247  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 809 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.049175' WHERE "spree_products"."id" = 247  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 247  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 'f' 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 07:15:22 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:22 UTC +00:00], ["product_id", nil], ["property_id", 201], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 247, "updated_at" = '2012-10-01 07:15:22.057526' WHERE "spree_product_properties"."id" = 243 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" != 247) 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 07:15:22 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 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, 01 Oct 2012 07:15: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", 309], ["updated_at", Mon, 01 Oct 2012 07:15:22 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" = 247 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (247, 539) 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 07:15:22 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 310 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 310], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (247, 540) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 247) 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 (221.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 247 AND "spree_option_types"."id" = 145 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" = 247) 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 07:15:22 UTC +00:00], ["option_type_id", 145], ["position", 1], ["product_id", 247], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 145 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" = 145) 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 07:15:22 UTC +00:00], ["name", "jpeg"], ["option_type_id", 145], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.327129' WHERE "spree_products"."id" = 247 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 247], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.330285' WHERE "spree_products"."id" = 247  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (810, 263) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 145 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" = 145) 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 07:15:22 UTC +00:00], ["name", "PDF"], ["option_type_id", 145], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.338020' WHERE "spree_products"."id" = 247 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 247], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.339510' WHERE "spree_products"."id" = 247  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (264, 811) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 145 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" = 145) 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 07:15:22 UTC +00:00], ["name", "PNG"], ["option_type_id", 145], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:22 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.348019' WHERE "spree_products"."id" = 247 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 247], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.350512' WHERE "spree_products"."id" = 247  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (265, 812) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 247]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 247) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 810 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 811 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 812 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" != 247) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.372897' WHERE "spree_products"."id" = 247  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 810 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.375797' WHERE "spree_products"."id" = 247 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.378536' WHERE "spree_products"."id" = 247  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 811 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.379991' WHERE "spree_products"."id" = 247 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.382153' WHERE "spree_products"."id" = 247  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 812 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:22.383834' WHERE "spree_products"."id" = 247 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 247) 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" = 809 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 809) 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 07:15:22 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 809], ["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" != 247) LIMIT 1 Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 809) 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 07:15:22 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 809], ["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" != 247) LIMIT 1 Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 809) ORDER BY position DESC LIMIT 1 SQL (0.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", Mon, 01 Oct 2012 07:15:22 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 809], ["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" != 247) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 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 07:15:23.292479' WHERE "spree_products"."id" = 247 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 247 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:15: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", Mon, 01 Oct 2012 07:15:23 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.306227' WHERE "spree_products"."id" = 248 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", 248], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.308242' WHERE "spree_products"."id" = 248  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 813 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.310229' WHERE "spree_products"."id" = 248  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 248  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 'f' 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 07:15:23 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:23 UTC +00:00], ["product_id", nil], ["property_id", 202], ["updated_at", Mon, 01 Oct 2012 07:15:23 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 248, "updated_at" = '2012-10-01 07:15:23.319079' WHERE "spree_product_properties"."id" = 244 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" != 248) 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" = 309 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" = 248 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (539, 248) 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 07:15:23 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:15:23 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 311 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 07:15: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", 311], ["updated_at", Mon, 01 Oct 2012 07:15:23 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (541, 248) 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 07:15:23 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:23 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 312 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 312], ["updated_at", Mon, 01 Oct 2012 07:15:23 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (542, 248) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 248) 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" = 248 AND "spree_option_types"."id" = 145 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" = 248) ORDER BY position DESC 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 07:15:23 UTC +00:00], ["option_type_id", 145], ["position", 1], ["product_id", 248], ["updated_at", Mon, 01 Oct 2012 07:15:23 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 145 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.353347' WHERE "spree_products"."id" = 248 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 248], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.354860' WHERE "spree_products"."id" = 248  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (814, 263) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 145 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.358297' WHERE "spree_products"."id" = 248 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 248], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.359637' WHERE "spree_products"."id" = 248  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (815, 264) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 145 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.362867' WHERE "spree_products"."id" = 248 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 248], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.364205' WHERE "spree_products"."id" = 248  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (265, 816) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 248]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 248) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 814 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 815 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 816 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" != 248) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.379594' WHERE "spree_products"."id" = 248  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 814 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.380974' WHERE "spree_products"."id" = 248 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.382842' WHERE "spree_products"."id" = 248  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 815 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.384019' WHERE "spree_products"."id" = 248 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.385810' WHERE "spree_products"."id" = 248  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 816 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:23.387002' WHERE "spree_products"."id" = 248 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 248) 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" = 813 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 813) 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 07:15:23 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 813], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 813) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 07:15:25 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 813], ["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" != 248) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 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 07:15:25.722934' WHERE "spree_products"."id" = 248 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 248 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 SQLite3::SQLException: no such column: spree_products.sku: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (5.1ms) DELETE FROM "spree_products" SQL (3.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 (4.9ms) DELETE FROM "spree_product_properties" SQL (5.2ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (3.4ms) 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.2ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) 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.5ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 59 Row ROWRest of World succesfully SAVED : ID 59 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, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 60 Row UKUnited Kingdom succesfully SAVED : ID 60 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, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 61 Row EUREurope succesfully SAVED : ID 61 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, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 62 Row NANorth America succesfully SAVED : ID 62 Current value to assign : Current value to assign :  (3.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.8ms) 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 (3.1ms) DELETE FROM "spree_option_values" SQL (3.7ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.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 (2.9ms) DELETE FROM "spree_zones"  (0.1ms) 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.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", Mon, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 63 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 64 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope 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, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 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.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:25 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 01 Oct 2012 07:15:25 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" = 66  (4.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.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 (4.6ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (4.7ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.5ms) 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.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (3.5ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (5.3ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (2.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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.8ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.4ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.1ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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.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.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, 14 Feb 2011 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.108423' WHERE "spree_products"."id" = 249 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 249], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.110296' WHERE "spree_products"."id" = 249  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 817 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.113504' WHERE "spree_products"."id" = 249  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 249  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 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" = 817 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" != 249) 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", Mon, 01 Oct 2012 07:15:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" = 249 AND "spree_option_types"."id" = 146 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" = 249) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 146], ["position", 1], ["product_id", 249], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 249) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-01 07:15:26.312721' WHERE "spree_products"."id" = 249  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 817 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.314888' WHERE "spree_products"."id" = 249 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 249 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 249 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, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.325257' WHERE "spree_products"."id" = 250 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 250], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.326737' WHERE "spree_products"."id" = 250  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 818 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.328424' WHERE "spree_products"."id" = 250  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 250  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 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" = 818 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" != 250) 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" = 250 AND "spree_option_types"."id" = 146 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 250) 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 07:15:26 UTC +00:00], ["option_type_id", 146], ["position", 1], ["product_id", 250], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 250) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 07:15:26.345640' WHERE "spree_products"."id" = 250  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 818 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.348683' WHERE "spree_products"."id" = 250 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 250 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 250 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.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, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.358586' WHERE "spree_products"."id" = 251 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 251], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.359980' WHERE "spree_products"."id" = 251  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 819 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.361781' WHERE "spree_products"."id" = 251  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 251  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 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" = 819 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" != 251) 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" = 251 AND "spree_option_types"."id" = 146 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" = 251) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 146], ["position", 1], ["product_id", 251], ["updated_at", Mon, 01 Oct 2012 07:15:26 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", Mon, 01 Oct 2012 07:15:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" = 251 AND "spree_option_types"."id" = 147 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" = 251) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 147], ["position", 2], ["product_id", 251], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 251) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-01 07:15:26.380880' WHERE "spree_products"."id" = 251  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 819 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.382758' WHERE "spree_products"."id" = 251 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 251 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 251 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (157.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-01 07:15:26.546952')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-01 07:15:26.548106')  (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" = 249 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" = 249 ORDER BY spree_option_types.position  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 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" = 251 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (5.2ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (2.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.1ms) 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 (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 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.617395' WHERE "spree_products"."id" = 252 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 252], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.619064' WHERE "spree_products"."id" = 252  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.620792' WHERE "spree_products"."id" = 252  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 252  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 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" = 820 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" != 252) 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, 01 Oct 2012 07:15:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" = 252 AND "spree_option_types"."id" = 148 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" = 252) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 148], ["position", 1], ["product_id", 252], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 252) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-10-01 07:15:26.636251' WHERE "spree_products"."id" = 252  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 820 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.638026' WHERE "spree_products"."id" = 252 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 252 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.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, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.650565' WHERE "spree_products"."id" = 253 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 253], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.652875' WHERE "spree_products"."id" = 253  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.655157' WHERE "spree_products"."id" = 253  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 253  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 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" = 821 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" != 253) 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" = 253 AND "spree_option_types"."id" = 148 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" = 253) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 148], ["position", 1], ["product_id", 253], ["updated_at", Mon, 01 Oct 2012 07:15:26 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 253) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 07:15:26.668699' WHERE "spree_products"."id" = 253  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 821 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.670584' WHERE "spree_products"."id" = 253 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 253 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.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.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, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.678635' WHERE "spree_products"."id" = 254 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 254], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.679956' WHERE "spree_products"."id" = 254  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.681515' WHERE "spree_products"."id" = 254  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 254  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 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" = 822 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" != 254) 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" = 254 AND "spree_option_types"."id" = 148 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" = 254) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 148], ["position", 1], ["product_id", 254], ["updated_at", Mon, 01 Oct 2012 07:15:26 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", Mon, 01 Oct 2012 07:15:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" = 254 AND "spree_option_types"."id" = 149 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" = 254) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 149], ["position", 2], ["product_id", 254], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 254) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-10-01 07:15:26.701209' WHERE "spree_products"."id" = 254  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 822 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.702983' WHERE "spree_products"."id" = 254 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 254  (4.8ms) 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-01 07:15:26.710556')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-01 07:15:26.711194')  (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" = 252 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" = 252 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 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" = 254 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (3.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (4.3ms) 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"  (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.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, 01 Oct 2012 08:15:26 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.785732' WHERE "spree_products"."id" = 255 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 255], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.788191' WHERE "spree_products"."id" = 255  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 823 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.790076' WHERE "spree_products"."id" = 255  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 255  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:26 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" = 255 AND "spree_option_types"."id" = 150 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" = 255) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 150], ["position", 1], ["product_id", 255], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 255) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 255 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", Mon, 01 Oct 2012 08:15:26 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.812023' WHERE "spree_products"."id" = 256 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 256], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.813684' WHERE "spree_products"."id" = 256  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 824 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.815722' WHERE "spree_products"."id" = 256  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 256  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 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.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" = 256 AND "spree_option_types"."id" = 150 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" = 256) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 150], ["position", 1], ["product_id", 256], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 256) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 256 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", Mon, 01 Oct 2012 08:15:26 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.835705' WHERE "spree_products"."id" = 257 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 257], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.837120' WHERE "spree_products"."id" = 257  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 825 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.838660' WHERE "spree_products"."id" = 257  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 257  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 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" = 257 AND "spree_option_types"."id" = 150 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" = 257) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 150], ["position", 1], ["product_id", 257], ["updated_at", Mon, 01 Oct 2012 07:15:26 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", Mon, 01 Oct 2012 07:15:26 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" = 257 AND "spree_option_types"."id" = 151 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" = 257) ORDER BY position DESC 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 07:15:26 UTC +00:00], ["option_type_id", 151], ["position", 2], ["product_id", 257], ["updated_at", Mon, 01 Oct 2012 07:15:26 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" != 257) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 257 Current value to assign : SPEC_ 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"  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" = 255 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (5.4ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.1ms) 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.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"cost_price"=>1.0, "meta_keywords"=>"techno dubstep d&b", "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.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.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, 01 Oct 2012 07:15:26 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, 01 Oct 2012 07:15:26 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.931111' WHERE "spree_products"."id" = 258 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 258], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.933225' WHERE "spree_products"."id" = 258  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 826 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:26.935127' WHERE "spree_products"."id" = 258  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 258  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 258 AND "spree_option_types"."id" = 152 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" = 258) 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 07:15:27 UTC +00:00], ["option_type_id", 152], ["position", 1], ["product_id", 258], ["updated_at", Mon, 01 Oct 2012 07:15: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" != 258) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 258 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", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.137760' WHERE "spree_products"."id" = 259 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 259], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.139603' WHERE "spree_products"."id" = 259  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 827 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.141869' WHERE "spree_products"."id" = 259  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 259  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 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" = 259 AND "spree_option_types"."id" = 152 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 259) 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 07:15:27 UTC +00:00], ["option_type_id", 152], ["position", 1], ["product_id", 259], ["updated_at", Mon, 01 Oct 2012 07:15:27 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" != 259) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 259 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", nil], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.173709' WHERE "spree_products"."id" = 260 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 260], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.175371' WHERE "spree_products"."id" = 260  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 828 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.177309' WHERE "spree_products"."id" = 260  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 260  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 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.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" = 260 AND "spree_option_types"."id" = 152 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 260) 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 07:15:27 UTC +00:00], ["option_type_id", 152], ["position", 1], ["product_id", 260], ["updated_at", Mon, 01 Oct 2012 07:15:27 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", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:27 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" = 260 AND "spree_option_types"."id" = 153 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" = 260) 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 07:15:27 UTC +00:00], ["option_type_id", 153], ["position", 2], ["product_id", 260], ["updated_at", Mon, 01 Oct 2012 07:15: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" != 260) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 260 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (176.9ms) 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" = 258 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 (2.6ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.8ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.6ms) 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.0ms) commit transaction PRODUCT # MASTER: #  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]]  (3.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.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 07:15: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", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.468155' WHERE "spree_products"."id" = 261 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 261], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.470430' WHERE "spree_products"."id" = 261  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 829 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.472783' WHERE "spree_products"."id" = 261  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 261  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 'f' 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", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["product_id", nil], ["property_id", 203], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 261, "updated_at" = '2012-10-01 07:15:27.480948' WHERE "spree_product_properties"."id" = 245 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" != 261) 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 07:15:27 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 313 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 07:15: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", 313], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 261 Product assigned to Taxons : ["Paintings"]  (0.3ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (543, 261) 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 07:15:27 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 314 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 314], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (544, 261) 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" != 261) 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", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:27 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" = 261 AND "spree_option_types"."id" = 154 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" = 261) 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 07:15:27 UTC +00:00], ["option_type_id", 154], ["position", 1], ["product_id", 261], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 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" = 154) 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 07:15:27 UTC +00:00], ["name", "jpeg"], ["option_type_id", 154], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.523550' WHERE "spree_products"."id" = 261 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 261], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.525480' WHERE "spree_products"."id" = 261  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (266, 830) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 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" = 154) ORDER BY position 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 07:15:27 UTC +00:00], ["name", "PDF"], ["option_type_id", 154], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.533037' WHERE "spree_products"."id" = 261 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 261], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.534450' WHERE "spree_products"."id" = 261  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (831, 267) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 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" = 154) ORDER BY position 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 07:15:27 UTC +00:00], ["name", "PNG"], ["option_type_id", 154], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.539917' WHERE "spree_products"."id" = 261 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 261], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.541748' WHERE "spree_products"."id" = 261  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (832, 268) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 261]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 261) LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 830 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 831 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 832 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" != 261) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.565576' WHERE "spree_products"."id" = 261  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 830 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.567021' WHERE "spree_products"."id" = 261 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.568592' WHERE "spree_products"."id" = 261  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 831 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.569740' WHERE "spree_products"."id" = 261 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.571222' WHERE "spree_products"."id" = 261  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 832 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.572675' WHERE "spree_products"."id" = 261 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 261) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 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 07:15:27.577229' WHERE "spree_products"."id" = 261 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 261 Current value to assign : DEMO_002 Current value to 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 07:15: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", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.588832' WHERE "spree_products"."id" = 262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 262], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.590496' WHERE "spree_products"."id" = 262  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 833 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.592179' WHERE "spree_products"."id" = 262  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 262  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 'f' 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 07:15:27 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["product_id", nil], ["property_id", 204], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 262, "updated_at" = '2012-10-01 07:15:27.601316' WHERE "spree_product_properties"."id" = 246 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" != 262) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 313 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" = 262 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (543, 262) 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 07:15:27 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 315 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 315], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (545, 262) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 313 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" = 313 AND "spree_taxons"."parent_id" = 543 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", 543]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 543], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 313], ["updated_at", Mon, 01 Oct 2012 07:15:27 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", 543]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 546]] 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 = 546 THEN 543 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 543]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 546]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 313 AND "spree_taxons"."parent_id" = 546 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", 546]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 546], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 313], ["updated_at", Mon, 01 Oct 2012 07:15: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", 546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 547]] 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 = 547 THEN 546 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 546]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 547]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (546, 262)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (547, 262) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 262) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 262 AND "spree_option_types"."id" = 154 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 262) 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 07:15:27 UTC +00:00], ["option_type_id", 154], ["position", 1], ["product_id", 262], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.658433' WHERE "spree_products"."id" = 262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 262], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.660717' WHERE "spree_products"."id" = 262  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (266, 834) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.664549' WHERE "spree_products"."id" = 262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 262], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.665965' WHERE "spree_products"."id" = 262  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (267, 835) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.669959' WHERE "spree_products"."id" = 262 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 262], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.671421' WHERE "spree_products"."id" = 262  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (268, 836) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 262]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 262) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 834 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 835 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 836 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" != 262) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 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" = 262 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.692139' WHERE "spree_products"."id" = 262  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 834 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.694803' WHERE "spree_products"."id" = 262 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.697650' WHERE "spree_products"."id" = 262  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 835 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.699907' WHERE "spree_products"."id" = 262 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.702900' WHERE "spree_products"."id" = 262  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 836 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.704447' WHERE "spree_products"."id" = 262 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 262) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 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 07:15:27.708126' WHERE "spree_products"."id" = 262 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 262 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.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 07:15: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", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.723027' WHERE "spree_products"."id" = 263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 263], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.724871' WHERE "spree_products"."id" = 263  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 837 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.726686' WHERE "spree_products"."id" = 263  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 263  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' 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 07:15:27 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["product_id", nil], ["property_id", 205], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 263, "updated_at" = '2012-10-01 07:15:27.735167' WHERE "spree_product_properties"."id" = 247 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 07:15:27 UTC +00:00], ["product_id", nil], ["property_id", 204], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 263, "updated_at" = '2012-10-01 07:15:27.738542' WHERE "spree_product_properties"."id" = 248 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 07:15:27 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["product_id", nil], ["property_id", 206], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 263, "updated_at" = '2012-10-01 07:15:27.743789' WHERE "spree_product_properties"."id" = 249 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 263) 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 07:15:27 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 316 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 07:15: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 12], ["taxonomy_id", 316], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 263 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (263, 548) 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" = 313 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" = 313 AND "spree_taxons"."parent_id" = 543 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", 543]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Landscape"], ["parent_id", 543], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 313], ["updated_at", Mon, 01 Oct 2012 07:15: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", 543]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 549]] 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 = 549 THEN 543 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 543]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 549]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (263, 549)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (263, 543) 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" != 263) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 263 AND "spree_option_types"."id" = 154 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" = 263) ORDER BY position DESC 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 07:15:27 UTC +00:00], ["option_type_id", 154], ["position", 1], ["product_id", 263], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.942191' WHERE "spree_products"."id" = 263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 263], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.943672' WHERE "spree_products"."id" = 263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (838, 266) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.946978' WHERE "spree_products"."id" = 263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 263], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.948370' WHERE "spree_products"."id" = 263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (839, 267) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 154 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.951996' WHERE "spree_products"."id" = 263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 263], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.953630' WHERE "spree_products"."id" = 263  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (840, 268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 263]] 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 07:15:27 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:27 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" = 263 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 263) 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 07:15:27 UTC +00:00], ["option_type_id", 155], ["position", 2], ["product_id", 263], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 155 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" = 155) ORDER BY position 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 07:15:27 UTC +00:00], ["name", "black_white"], ["option_type_id", 155], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.972645' WHERE "spree_products"."id" = 263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 263], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.974493' WHERE "spree_products"."id" = 263  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (841, 269) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 155 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" = 155) ORDER BY position 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 07:15:27 UTC +00:00], ["name", "colour"], ["option_type_id", 155], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.981812' WHERE "spree_products"."id" = 263 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 263], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:27.983253' WHERE "spree_products"."id" = 263  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (270, 842) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 263]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 263) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 838 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 839 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 840 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 841 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 842 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" != 263) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.008179' WHERE "spree_products"."id" = 263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 838 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.009620' WHERE "spree_products"."id" = 263 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.011772' WHERE "spree_products"."id" = 263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 839 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.013491' WHERE "spree_products"."id" = 263 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.015927' WHERE "spree_products"."id" = 263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 840 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.017653' WHERE "spree_products"."id" = 263 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.020051' WHERE "spree_products"."id" = 263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 841 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.021859' WHERE "spree_products"."id" = 263 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.024085' WHERE "spree_products"."id" = 263  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 842 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.025454' WHERE "spree_products"."id" = 263 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 263) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 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 07:15:28.029770' WHERE "spree_products"."id" = 263 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 263 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.5ms) 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" = 261 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" = 263 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" = 263 SQL (5.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (8.1ms) DELETE FROM "spree_properties" SQL (6.3ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.6ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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.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", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]]  (3.2ms) 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 (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, 01 Oct 2012 07:15: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 07:15:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.6ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.162620' WHERE "spree_products"."id" = 264 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", 264], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.166848' WHERE "spree_products"."id" = 264  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 843 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.170637' WHERE "spree_products"."id" = 264  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 264  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' 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, 01 Oct 2012 07:15:28 UTC +00:00], ["product_id", nil], ["property_id", 207], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 264, "updated_at" = '2012-10-01 07:15:28.185902' WHERE "spree_product_properties"."id" = 250 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" != 264) 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, 01 Oct 2012 07:15:28 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 317 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, 01 Oct 2012 07:15: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", 317], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 264 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (550, 264) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 264) 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", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 318 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 07:15: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", 318], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (551, 264) 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" != 264) LIMIT 1 Spree::OptionType Load (0.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 07:15:28 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15:28 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" = 264 AND "spree_option_types"."id" = 156 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" = 264) 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 07:15:28 UTC +00:00], ["option_type_id", 156], ["position", 1], ["product_id", 264], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 156 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" = 156) 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 07:15:28 UTC +00:00], ["name", "jpeg"], ["option_type_id", 156], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.243914' WHERE "spree_products"."id" = 264 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 264], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.246698' WHERE "spree_products"."id" = 264  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (271, 844) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 264]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 264) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 264 AND "spree_option_types"."id" = 156 ORDER 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" = 156 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" = 156) ORDER BY position 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 07:15:28 UTC +00:00], ["name", "PDF"], ["option_type_id", 156], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.261817' WHERE "spree_products"."id" = 264 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 264], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.263207' WHERE "spree_products"."id" = 264  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (845, 272) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 264]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 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" != 264) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 264 AND "spree_option_types"."id" = 156 ORDER 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" = 156 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" = 156) ORDER BY position 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 07:15:28 UTC +00:00], ["name", "PNG"], ["option_type_id", 156], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.276638' WHERE "spree_products"."id" = 264 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 264], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.278247' WHERE "spree_products"."id" = 264  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (273, 846) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 264]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 264) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 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" = 844 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 845 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 846 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" != 264) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.297954' WHERE "spree_products"."id" = 264  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 844 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.299194' WHERE "spree_products"."id" = 264 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.300556' WHERE "spree_products"."id" = 264  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 845 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.301528' WHERE "spree_products"."id" = 264 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.302930' WHERE "spree_products"."id" = 264  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 846 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.303920' WHERE "spree_products"."id" = 264 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 264) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 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 07:15:28.306973' WHERE "spree_products"."id" = 264 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 264 Current value to assign : DEMO_002 Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:15: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 07:15:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.315205' WHERE "spree_products"."id" = 265 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 265], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.316511' WHERE "spree_products"."id" = 265  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 847 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.318038' WHERE "spree_products"."id" = 265  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 265  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' 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 07:15:28 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:28 UTC +00:00], ["product_id", nil], ["property_id", 208], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 265, "updated_at" = '2012-10-01 07:15:28.325245' WHERE "spree_product_properties"."id" = 251 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" != 265) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 317 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" = 265 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (550, 265) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) 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, 01 Oct 2012 07:15:28 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 319 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 319], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (552, 265) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 317 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" = 317 AND "spree_taxons"."parent_id" = 550 AND "spree_taxons"."name" = 'Nature' 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", 550]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 550], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 317], ["updated_at", Mon, 01 Oct 2012 07:15: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", 550]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 553]] 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 = 553 THEN 550 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 550]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 553]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 317 AND "spree_taxons"."parent_id" = 553 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", 553]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 553], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 317], ["updated_at", Mon, 01 Oct 2012 07:15: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", 553]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 554]] 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 = 554 THEN 553 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 553]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 554]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (553, 265)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (554, 265) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) 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" = 265 AND "spree_option_types"."id" = 156 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" = 265) ORDER BY position DESC 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 07:15:28 UTC +00:00], ["option_type_id", 156], ["position", 1], ["product_id", 265], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 156 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.365226' WHERE "spree_products"."id" = 265 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 265], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.366579' WHERE "spree_products"."id" = 265  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (271, 848) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 265]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) 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" = 265 AND "spree_option_types"."id" = 156 ORDER 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" = 156 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.377752' WHERE "spree_products"."id" = 265 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 265], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.531849' WHERE "spree_products"."id" = 265  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (272, 849) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 265]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) 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" = 265 AND "spree_option_types"."id" = 156 ORDER 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" = 156 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.543380' WHERE "spree_products"."id" = 265 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 265], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.544850' WHERE "spree_products"."id" = 265  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (850, 273) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 265]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 848 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 849 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 850 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" != 265) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.565911' WHERE "spree_products"."id" = 265  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 848 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.567162' WHERE "spree_products"."id" = 265 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.568648' WHERE "spree_products"."id" = 265  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 849 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.569736' WHERE "spree_products"."id" = 265 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.571201' WHERE "spree_products"."id" = 265  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 850 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.572238' WHERE "spree_products"."id" = 265 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 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 07:15:28.575772' WHERE "spree_products"."id" = 265 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 265 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:15: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 07:15:28 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.585841' WHERE "spree_products"."id" = 266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 266], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.587299' WHERE "spree_products"."id" = 266  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 851 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.589223' WHERE "spree_products"."id" = 266  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 266  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' 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 07:15:28 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:28 UTC +00:00], ["product_id", nil], ["property_id", 209], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 266, "updated_at" = '2012-10-01 07:15:28.597159' WHERE "spree_product_properties"."id" = 252 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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, 01 Oct 2012 07:15:28 UTC +00:00], ["product_id", nil], ["property_id", 208], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 266, "updated_at" = '2012-10-01 07:15:28.601431' WHERE "spree_product_properties"."id" = 253 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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, 01 Oct 2012 07:15:28 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:28 UTC +00:00], ["product_id", nil], ["property_id", 210], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 266, "updated_at" = '2012-10-01 07:15:28.606547' WHERE "spree_product_properties"."id" = 254 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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 07:15:28 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 320 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 320], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 266 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (555, 266) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 317 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" = 317 AND "spree_taxons"."parent_id" = 550 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", 550]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 550], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 317], ["updated_at", Mon, 01 Oct 2012 07:15: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", 550]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 556]] 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 = 556 THEN 550 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 550]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 556]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (556, 266)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (550, 266) 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" != 266) 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" = 266 AND "spree_option_types"."id" = 156 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" = 266) ORDER BY position DESC 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 07:15:28 UTC +00:00], ["option_type_id", 156], ["position", 1], ["product_id", 266], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 156 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.636799' WHERE "spree_products"."id" = 266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 266], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.638156' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (271, 852) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 266]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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" = 266 AND "spree_option_types"."id" = 156 ORDER 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" = 156 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.646742' WHERE "spree_products"."id" = 266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 266], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.648083' WHERE "spree_products"."id" = 266  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (272, 853) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 266]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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" = 266 AND "spree_option_types"."id" = 156 ORDER 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" = 156 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.656599' WHERE "spree_products"."id" = 266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 266], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.657934' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (273, 854) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 266]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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, 01 Oct 2012 07:15:28 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:28 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" = 266 AND "spree_option_types"."id" = 157 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" = 266) ORDER BY position DESC 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 07:15:28 UTC +00:00], ["option_type_id", 157], ["position", 2], ["product_id", 266], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 157 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" = 157) ORDER BY position 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 07:15:28 UTC +00:00], ["name", "black_white"], ["option_type_id", 157], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.671788' WHERE "spree_products"."id" = 266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 266], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.673201' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (855, 274) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 266]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) 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.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" = 266 AND "spree_option_types"."id" = 157 ORDER 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" = 157 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" = 157) ORDER BY position 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 07:15:28 UTC +00:00], ["name", "colour"], ["option_type_id", 157], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:28 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.683838' WHERE "spree_products"."id" = 266 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 266], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.685098' WHERE "spree_products"."id" = 266  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (856, 275) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 266]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 852 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 853 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 854 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 855 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" = 856 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" != 266) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.704566' WHERE "spree_products"."id" = 266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 852 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.706409' WHERE "spree_products"."id" = 266 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.708646' WHERE "spree_products"."id" = 266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 853 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.709794' WHERE "spree_products"."id" = 266 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.711242' WHERE "spree_products"."id" = 266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 854 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.712448' WHERE "spree_products"."id" = 266 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.713973' WHERE "spree_products"."id" = 266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 855 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.715093' WHERE "spree_products"."id" = 266 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.716425' WHERE "spree_products"."id" = 266  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 856 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:28.717387' WHERE "spree_products"."id" = 266 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 266) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 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 07:15:28.720699' WHERE "spree_products"."id" = 266 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 266 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.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::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" = 264 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" = 266 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" = 266 SQL (5.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.8ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.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: # SQL (2.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (4.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.1ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.8ms) 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 (3.4ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.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.1ms) begin transaction  (0.1ms) commit transaction PRODUCT # MASTER: # SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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 PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.3ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.3ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (3.5ms) DELETE FROM "spree_taxons" SQL (3.6ms) DELETE FROM "spree_taxonomies" SQL (3.2ms) DELETE FROM "spree_zones" SQL (4.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (4.5ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones" SQL (3.9ms) 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 (4.1ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.1ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.6ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones" SQL (3.0ms) 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 (4.3ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (4.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 (2.5ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (4.5ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.1ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (3.4ms) DELETE FROM "spree_option_values" SQL (4.2ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction  (0.0ms) 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 (2.8ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.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.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 321], ["updated_at", Mon, 01 Oct 2012 07:15:29 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", Mon, 01 Oct 2012 07:15: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", 321], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]]  (5.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "parent_id" = 557, "updated_at" = '2012-10-01 07:15:29.472668' WHERE "spree_taxons"."id" = 558 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 557]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558]] 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 = 558 THEN 557 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 557]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 558]]  (3.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" = 557 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", Mon, 01 Oct 2012 07:15: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 07:15:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.513776' WHERE "spree_products"."id" = 267 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 267], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.515624' WHERE "spree_products"."id" = 267  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 857 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.517901' WHERE "spree_products"."id" = 267  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 267  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 'f' 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 07:15:29 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:29 UTC +00:00], ["product_id", nil], ["property_id", 211], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 267, "updated_at" = '2012-10-01 07:15:29.526803' WHERE "spree_product_properties"."id" = 255 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" != 267) 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" = 321 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" = 267 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (267, 557) 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 07:15:29 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 322 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 07:15: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", 322], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (267, 559) 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" != 267) 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", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 267 AND "spree_option_types"."id" = 158 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 267) 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 07:15:29 UTC +00:00], ["option_type_id", 158], ["position", 1], ["product_id", 267], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 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" = 158) ORDER BY position 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 07:15:29 UTC +00:00], ["name", "jpeg"], ["option_type_id", 158], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.561272' WHERE "spree_products"."id" = 267 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 267], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.562801' WHERE "spree_products"."id" = 267  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (858, 276) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 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" = 158) ORDER BY position 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 07:15:29 UTC +00:00], ["name", "PDF"], ["option_type_id", 158], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.568213' WHERE "spree_products"."id" = 267 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 267], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.569477' WHERE "spree_products"."id" = 267  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (277, 859) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 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" = 158) ORDER BY position 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 07:15:29 UTC +00:00], ["name", "PNG"], ["option_type_id", 158], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.574499' WHERE "spree_products"."id" = 267 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 267], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.575744' WHERE "spree_products"."id" = 267  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (860, 278) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 267]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 267) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 858 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" = 859 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 860 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" != 267) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.596011' WHERE "spree_products"."id" = 267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 858 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.597315' WHERE "spree_products"."id" = 267 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.598779' WHERE "spree_products"."id" = 267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 859 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.599761' WHERE "spree_products"."id" = 267 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.601134' WHERE "spree_products"."id" = 267  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 860 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.602406' WHERE "spree_products"."id" = 267 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 267) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 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 07:15:29.605895' WHERE "spree_products"."id" = 267 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 267 Current value to assign : DEMO_002 Current value to 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 07:15: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 07:15:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.615071' WHERE "spree_products"."id" = 268 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 268], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.616467' WHERE "spree_products"."id" = 268  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 861 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.618158' WHERE "spree_products"."id" = 268  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 268  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 'f' 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 07:15:29 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:29 UTC +00:00], ["product_id", nil], ["property_id", 212], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 268, "updated_at" = '2012-10-01 07:15:29.625496' WHERE "spree_product_properties"."id" = 256 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" != 268) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 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" = 268 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (557, 268) 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 07:15:29 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 323 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 323], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (560, 268) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 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" = 321 AND "spree_taxons"."parent_id" = 557 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", 557]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 557], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 321], ["updated_at", Mon, 01 Oct 2012 07:15: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", 557]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 561]] 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 = 561 THEN 557 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 557]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 561]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 AND "spree_taxons"."parent_id" = 561 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", 561]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 561], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 321], ["updated_at", Mon, 01 Oct 2012 07:15: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", 561]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 562]] 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 = 562 THEN 561 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 561]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 562]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (561, 268)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (562, 268) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 268) 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" = 268 AND "spree_option_types"."id" = 158 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" = 268) ORDER BY position DESC 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 07:15:29 UTC +00:00], ["option_type_id", 158], ["position", 1], ["product_id", 268], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.661910' WHERE "spree_products"."id" = 268 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 268], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.663333' WHERE "spree_products"."id" = 268  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (862, 276) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.666612' WHERE "spree_products"."id" = 268 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 268], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.667829' WHERE "spree_products"."id" = 268  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (277, 863) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.670848' WHERE "spree_products"."id" = 268 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 268], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.672124' WHERE "spree_products"."id" = 268  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (278, 864) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 268]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 268) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 862 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 863 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 864 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" != 268) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.687426' WHERE "spree_products"."id" = 268  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 862 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.688717' WHERE "spree_products"."id" = 268 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.690210' WHERE "spree_products"."id" = 268  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 863 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.691193' WHERE "spree_products"."id" = 268 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.692591' WHERE "spree_products"."id" = 268  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 864 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.693568' WHERE "spree_products"."id" = 268 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 268) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 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 07:15:29.696776' WHERE "spree_products"."id" = 268 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 268 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:15: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 07:15:29 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.705230' WHERE "spree_products"."id" = 269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 269], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.706643' WHERE "spree_products"."id" = 269  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 865 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.708152' WHERE "spree_products"."id" = 269  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 269  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 'f' 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 07:15:29 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:29 UTC +00:00], ["product_id", nil], ["property_id", 213], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 269, "updated_at" = '2012-10-01 07:15:29.715483' WHERE "spree_product_properties"."id" = 257 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 07:15:29 UTC +00:00], ["product_id", nil], ["property_id", 212], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 269, "updated_at" = '2012-10-01 07:15:29.718295' WHERE "spree_product_properties"."id" = 258 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 07:15:29 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:29 UTC +00:00], ["product_id", nil], ["property_id", 214], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 269, "updated_at" = '2012-10-01 07:15:29.722096' WHERE "spree_product_properties"."id" = 259 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 269) 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 07:15:29 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 324 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 324], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 269 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (269, 563) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 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" = 321 AND "spree_taxons"."parent_id" = 557 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (269, 558)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (269, 557) 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" != 269) 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" = 269 AND "spree_option_types"."id" = 158 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" = 269) ORDER BY position DESC 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 07:15:29 UTC +00:00], ["option_type_id", 158], ["position", 1], ["product_id", 269], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.743473' WHERE "spree_products"."id" = 269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 269], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.744764' WHERE "spree_products"."id" = 269  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (866, 276) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.747939' WHERE "spree_products"."id" = 269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 269], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.749161' WHERE "spree_products"."id" = 269  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (867, 277) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 158 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.752076' WHERE "spree_products"."id" = 269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 269], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.753252' WHERE "spree_products"."id" = 269  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (278, 868) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 269]] 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 07:15:29 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:29 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" = 269 AND "spree_option_types"."id" = 159 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" = 269) ORDER BY position DESC 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 07:15:29 UTC +00:00], ["option_type_id", 159], ["position", 2], ["product_id", 269], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 159 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" = 159) ORDER BY position 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 07:15:29 UTC +00:00], ["name", "black_white"], ["option_type_id", 159], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.766084' WHERE "spree_products"."id" = 269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 269], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.767339' WHERE "spree_products"."id" = 269  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (279, 869) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 159 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" = 159) ORDER BY position 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 07:15:29 UTC +00:00], ["name", "colour"], ["option_type_id", 159], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:29 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.924433' WHERE "spree_products"."id" = 269 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 269], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.925977' WHERE "spree_products"."id" = 269  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (280, 870) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 269]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 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" != 269) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 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" = 269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 866 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 867 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 868 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 869 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 870 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" != 269) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.963329' WHERE "spree_products"."id" = 269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 866 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.965325' WHERE "spree_products"."id" = 269 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.968266' WHERE "spree_products"."id" = 269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 867 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.970425' WHERE "spree_products"."id" = 269 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.972925' WHERE "spree_products"."id" = 269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 868 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.974716' WHERE "spree_products"."id" = 269 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.979010' WHERE "spree_products"."id" = 269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 869 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.980641' WHERE "spree_products"."id" = 269 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.983776' WHERE "spree_products"."id" = 269  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 870 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:29.986144' WHERE "spree_products"."id" = 269 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 269) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 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 07:15:29.992038' WHERE "spree_products"."id" = 269 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 269 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.0ms) commit transaction Spree::Taxonomy Load (0.4ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.3ms) 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" = 267 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" = 267 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" = 268 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" = 268 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" = 321 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.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 557 LIMIT 1 Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 561 LIMIT 1 Spree::Taxon Load (0.5ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 561 ORDER BY "lft" Spree::Taxon Load (0.4ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 562 ORDER BY "lft" SQL (3.3ms) DELETE FROM "spree_products" SQL (0.4ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.9ms) DELETE FROM "spree_option_types" SQL (4.5ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.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: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 325 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 07:15: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", 325], ["updated_at", Mon, 01 Oct 2012 07:15:30 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.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 07:15: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", 325], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]]  (4.3ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "parent_id" = 564, "updated_at" = '2012-10-01 07:15:30.158275' WHERE "spree_taxons"."id" = 565 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 564]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 565]] 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 = 565 THEN 564 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 564]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 565]]  (5.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" = 564 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.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 07:15: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 07:15:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.215697' WHERE "spree_products"."id" = 270 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", 270], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.218979' WHERE "spree_products"."id" = 270  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 871 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.225008' WHERE "spree_products"."id" = 270  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 270  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 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, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Created New Property # SQL (5.5ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["product_id", nil], ["property_id", 215], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 270, "updated_at" = '2012-10-01 07:15:30.248343' WHERE "spree_product_properties"."id" = 260 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" != 270) 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" = 325 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" = 270 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (270, 564) Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) 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", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 326 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, 01 Oct 2012 07:15: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", 326], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (270, 566) 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" != 270) LIMIT 1 Spree::OptionType Load (0.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, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 270 AND "spree_option_types"."id" = 160 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 270) 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 07:15:30 UTC +00:00], ["option_type_id", 160], ["position", 1], ["product_id", 270], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 160 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" = 160) ORDER BY position 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 07:15:30 UTC +00:00], ["name", "jpeg"], ["option_type_id", 160], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.296169' WHERE "spree_products"."id" = 270 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 270], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.297978' WHERE "spree_products"."id" = 270  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (872, 281) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 270]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 270 AND "spree_option_types"."id" = 160 ORDER 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" = 160 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" = 160) 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 07:15:30 UTC +00:00], ["name", "PDF"], ["option_type_id", 160], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.315051' WHERE "spree_products"."id" = 270 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", 270], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.317888' WHERE "spree_products"."id" = 270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (873, 282) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 270]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 270 AND "spree_option_types"."id" = 160 ORDER 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" = 160 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" = 160) ORDER BY position 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 07:15:30 UTC +00:00], ["name", "PNG"], ["option_type_id", 160], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.338949' WHERE "spree_products"."id" = 270 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 270], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.340696' WHERE "spree_products"."id" = 270  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (874, 283) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 270]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 872 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" = 873 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" = 874 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" != 270) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.374740' WHERE "spree_products"."id" = 270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 872 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.376079' WHERE "spree_products"."id" = 270 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.378150' WHERE "spree_products"."id" = 270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 873 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.379875' WHERE "spree_products"."id" = 270 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.381743' WHERE "spree_products"."id" = 270  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 874 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.383299' WHERE "spree_products"."id" = 270 Spree::Product Exists (0.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 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 07:15:30.389045' WHERE "spree_products"."id" = 270 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 270 Current value to assign : DEMO_002 Current value to 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, 01 Oct 2012 07:15: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 07:15:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.403049' WHERE "spree_products"."id" = 271 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 271], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.405261' WHERE "spree_products"."id" = 271  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 875 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.407472' WHERE "spree_products"."id" = 271  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 271  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' 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 07:15:30 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:30 UTC +00:00], ["product_id", nil], ["property_id", 216], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 271, "updated_at" = '2012-10-01 07:15:30.419773' WHERE "spree_product_properties"."id" = 261 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" != 271) 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" = 325 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" = 271 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (564, 271) 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" != 271) 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, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 327 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 07:15: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", 327], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (567, 271) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 271) 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" = 325 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" = 325 AND "spree_taxons"."parent_id" = 564 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", 564]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 564], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 325], ["updated_at", Mon, 01 Oct 2012 07:15: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", 564]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 568]] 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 = 568 THEN 564 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 564]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 568]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 325 AND "spree_taxons"."parent_id" = 568 AND "spree_taxons"."name" = 'Seascape' 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", 568]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 568], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 325], ["updated_at", Mon, 01 Oct 2012 07:15: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", 568]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 569]] 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 = 569 THEN 568 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 568]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 569]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (568, 271)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (569, 271) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 271) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 271 AND "spree_option_types"."id" = 160 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 271) 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 07:15:30 UTC +00:00], ["option_type_id", 160], ["position", 1], ["product_id", 271], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 160 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.487350' WHERE "spree_products"."id" = 271 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 271], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.489968' WHERE "spree_products"."id" = 271  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (876, 281) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 271]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 271) 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" = 271 AND "spree_option_types"."id" = 160 ORDER 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" = 160 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.502343' WHERE "spree_products"."id" = 271 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 271], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.504505' WHERE "spree_products"."id" = 271  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (877, 282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 271]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 271) 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" = 271 AND "spree_option_types"."id" = 160 ORDER 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" = 160 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.515260' WHERE "spree_products"."id" = 271 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 271], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.517208' WHERE "spree_products"."id" = 271  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (283, 878) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 271]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 271) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 876 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 877 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 878 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" != 271) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.720731' WHERE "spree_products"."id" = 271  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 876 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.722205' WHERE "spree_products"."id" = 271 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.724115' WHERE "spree_products"."id" = 271  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 877 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.725367' WHERE "spree_products"."id" = 271 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.727109' WHERE "spree_products"."id" = 271  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 878 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.728326' WHERE "spree_products"."id" = 271 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 271) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 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 07:15:30.733210' WHERE "spree_products"."id" = 271 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 271 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Mon, 01 Oct 2012 07:15: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 07:15:30 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.745078' WHERE "spree_products"."id" = 272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 272], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.746841' WHERE "spree_products"."id" = 272  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 879 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.748865' WHERE "spree_products"."id" = 272  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 272  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' 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 07:15:30 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:30 UTC +00:00], ["product_id", nil], ["property_id", 217], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 272, "updated_at" = '2012-10-01 07:15:30.758121' WHERE "spree_product_properties"."id" = 262 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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, 01 Oct 2012 07:15:30 UTC +00:00], ["product_id", nil], ["property_id", 216], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 272, "updated_at" = '2012-10-01 07:15:30.763815' WHERE "spree_product_properties"."id" = 263 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:30 UTC +00:00], ["product_id", nil], ["property_id", 218], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 272, "updated_at" = '2012-10-01 07:15:30.771877' WHERE "spree_product_properties"."id" = 264 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 328 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, 01 Oct 2012 07:15: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", 328], ["updated_at", Mon, 01 Oct 2012 07:15:30 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" = 272 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (570, 272) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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" = 325 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" = 325 AND "spree_taxons"."parent_id" = 564 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (565, 272)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (564, 272) 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" != 272) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 272 AND "spree_option_types"."id" = 160 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 272) 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 07:15:30 UTC +00:00], ["option_type_id", 160], ["position", 1], ["product_id", 272], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 160 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.819441' WHERE "spree_products"."id" = 272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 272], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.821552' WHERE "spree_products"."id" = 272  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (880, 281) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 272]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 272 AND "spree_option_types"."id" = 160 ORDER 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" = 160 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.835222' WHERE "spree_products"."id" = 272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 272], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.837349' WHERE "spree_products"."id" = 272  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (282, 881) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 272]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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" = 272 AND "spree_option_types"."id" = 160 ORDER 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" = 160 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.849498' WHERE "spree_products"."id" = 272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 272], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.851112' WHERE "spree_products"."id" = 272  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (283, 882) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 272]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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, 01 Oct 2012 07:15:30 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:30 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" = 272 AND "spree_option_types"."id" = 161 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" = 272) ORDER BY position DESC 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 07:15:30 UTC +00:00], ["option_type_id", 161], ["position", 2], ["product_id", 272], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 161 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" = 161) ORDER BY position 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 07:15:30 UTC +00:00], ["name", "black_white"], ["option_type_id", 161], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.870875' WHERE "spree_products"."id" = 272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 272], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.872933' WHERE "spree_products"."id" = 272  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (284, 883) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 272]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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.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" = 272 AND "spree_option_types"."id" = 161 ORDER 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" = 161 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" = 161) ORDER BY position 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 07:15:30 UTC +00:00], ["name", "colour"], ["option_type_id", 161], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:30 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.886842' WHERE "spree_products"."id" = 272 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 272], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.888686' WHERE "spree_products"."id" = 272  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (884, 285) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 272]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 880 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 881 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 884 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" != 272) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.912611' WHERE "spree_products"."id" = 272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 880 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.914060' WHERE "spree_products"."id" = 272 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.915732' WHERE "spree_products"."id" = 272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 881 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.917034' WHERE "spree_products"."id" = 272 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.918648' WHERE "spree_products"."id" = 272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 882 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.919765' WHERE "spree_products"."id" = 272 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.921663' WHERE "spree_products"."id" = 272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 883 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.923171' WHERE "spree_products"."id" = 272 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.925209' WHERE "spree_products"."id" = 272  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 884 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:30.926693' WHERE "spree_products"."id" = 272 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 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 07:15:30.930642' WHERE "spree_products"."id" = 272 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 272 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (104.7ms) 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 (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 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" = 270 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" = 271 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" = 271 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" = 325 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" = 564 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 325 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 568 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 568 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 569 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 (2.7ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (5.2ms) DELETE FROM "spree_taxons" SQL (3.2ms) 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.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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 329], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]]  (4.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, 01 Oct 2012 07:15: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", 329], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]]  (5.3ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "parent_id" = 571, "updated_at" = '2012-10-01 07:15:31.143654' WHERE "spree_taxons"."id" = 572 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 571]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 572]] 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 = 572 THEN 571 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 571]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 572]]  (4.7ms) 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" = 571 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.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 07:15: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, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.169219' WHERE "spree_products"."id" = 273 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 273], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.170884' WHERE "spree_products"."id" = 273  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 885 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.172596' WHERE "spree_products"."id" = 273  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 273  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' 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 07:15:31 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:31 UTC +00:00], ["product_id", nil], ["property_id", 219], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 273, "updated_at" = '2012-10-01 07:15:31.180314' WHERE "spree_product_properties"."id" = 265 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" != 273) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 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" = 273 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (273, 571) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 273) 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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 330 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 330], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (273, 573) 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" != 273) 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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 273 AND "spree_option_types"."id" = 162 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" = 273) ORDER BY position DESC 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 07:15:31 UTC +00:00], ["option_type_id", 162], ["position", 1], ["product_id", 273], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 162 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" = 162) ORDER BY position 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 07:15:31 UTC +00:00], ["name", "jpeg"], ["option_type_id", 162], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.211917' WHERE "spree_products"."id" = 273 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 273], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.214221' WHERE "spree_products"."id" = 273  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (286, 886) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 273) 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" = 273 AND "spree_option_types"."id" = 162 ORDER 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" = 162 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" = 162) ORDER BY position 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 07:15:31 UTC +00:00], ["name", "PDF"], ["option_type_id", 162], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.226059' WHERE "spree_products"."id" = 273 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 273], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.227403' WHERE "spree_products"."id" = 273  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (287, 887) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 273]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 273) 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" = 273 AND "spree_option_types"."id" = 162 ORDER 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" = 162 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" = 162) ORDER BY position 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 07:15:31 UTC +00:00], ["name", "PNG"], ["option_type_id", 162], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.238113' WHERE "spree_products"."id" = 273 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 273], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.239515' WHERE "spree_products"."id" = 273  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (288, 888) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 273]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 273) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 886 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 887 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 888 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" != 273) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.258300' WHERE "spree_products"."id" = 273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 886 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.259484' WHERE "spree_products"."id" = 273 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.260949' WHERE "spree_products"."id" = 273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 887 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.261960' WHERE "spree_products"."id" = 273 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.263332' WHERE "spree_products"."id" = 273  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 888 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.264315' WHERE "spree_products"."id" = 273 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" != 273) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 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 07:15:31.267679' WHERE "spree_products"."id" = 273 Current value to assign : DEMO_002 Current value to 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, 01 Oct 2012 07:15: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 07:15:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.430009' WHERE "spree_products"."id" = 274 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 274], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.431462' WHERE "spree_products"."id" = 274  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 889 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.433096' WHERE "spree_products"."id" = 274  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 274  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' 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 07:15:31 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:31 UTC +00:00], ["product_id", nil], ["property_id", 220], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 274, "updated_at" = '2012-10-01 07:15:31.441570' WHERE "spree_product_properties"."id" = 266 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" != 274) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 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" = 274 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (571, 274) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 274) 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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 331 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 331], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (574, 274) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 274) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 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" = 329 AND "spree_taxons"."parent_id" = 571 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", 571]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 571], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 329], ["updated_at", Mon, 01 Oct 2012 07:15: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", 571]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 575]] 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 = 575 THEN 571 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 571]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 575]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 AND "spree_taxons"."parent_id" = 575 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", 575]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 575], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 329], ["updated_at", Mon, 01 Oct 2012 07:15: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", 575]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 576]] 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 = 576 THEN 575 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 575]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 576]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (575, 274)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (576, 274) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 274) 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" = 274 AND "spree_option_types"."id" = 162 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" = 274) ORDER BY position DESC 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 07:15:31 UTC +00:00], ["option_type_id", 162], ["position", 1], ["product_id", 274], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 162 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.486263' WHERE "spree_products"."id" = 274 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 274], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.487689' WHERE "spree_products"."id" = 274  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (890, 286) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 274]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 274) 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" = 274 AND "spree_option_types"."id" = 162 ORDER 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" = 162 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.497164' WHERE "spree_products"."id" = 274 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 274], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.498647' WHERE "spree_products"."id" = 274  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (891, 287) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 274]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 274) 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" = 274 AND "spree_option_types"."id" = 162 ORDER 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" = 162 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.507946' WHERE "spree_products"."id" = 274 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 274], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.509356' WHERE "spree_products"."id" = 274  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (892, 288) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 274]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 274) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 890 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 891 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 892 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" != 274) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.525782' WHERE "spree_products"."id" = 274  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 890 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.526956' WHERE "spree_products"."id" = 274 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.528315' WHERE "spree_products"."id" = 274  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 891 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.529270' WHERE "spree_products"."id" = 274 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.530588' WHERE "spree_products"."id" = 274  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 892 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.531579' WHERE "spree_products"."id" = 274 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" != 274) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 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 07:15:31.535023' WHERE "spree_products"."id" = 274 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:15: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 07:15:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.543421' WHERE "spree_products"."id" = 275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 275], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.544754' WHERE "spree_products"."id" = 275  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 893 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.546314' WHERE "spree_products"."id" = 275  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 275  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' 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 07:15:31 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:31 UTC +00:00], ["product_id", nil], ["property_id", 221], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 275, "updated_at" = '2012-10-01 07:15:31.555544' WHERE "spree_product_properties"."id" = 267 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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, 01 Oct 2012 07:15:31 UTC +00:00], ["product_id", nil], ["property_id", 220], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 275, "updated_at" = '2012-10-01 07:15:31.560281' WHERE "spree_product_properties"."id" = 268 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:15: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 07:15:31 UTC +00:00], ["product_id", nil], ["property_id", 222], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 275, "updated_at" = '2012-10-01 07:15:31.565217' WHERE "spree_product_properties"."id" = 269 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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 07:15:31 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 332 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 332], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 275 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (275, 577) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 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" = 329 AND "spree_taxons"."parent_id" = 571 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (275, 572)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (275, 571) 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" != 275) 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" = 275 AND "spree_option_types"."id" = 162 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" = 275) ORDER BY position DESC 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 07:15:31 UTC +00:00], ["option_type_id", 162], ["position", 1], ["product_id", 275], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 162 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.586953' WHERE "spree_products"."id" = 275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 275], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.588452' WHERE "spree_products"."id" = 275  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (286, 894) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 275]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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" = 275 AND "spree_option_types"."id" = 162 ORDER 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" = 162 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.597639' WHERE "spree_products"."id" = 275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 275], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.599012' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (287, 895) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 275]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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" = 275 AND "spree_option_types"."id" = 162 ORDER 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" = 162 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.607894' WHERE "spree_products"."id" = 275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 275], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.609238' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (896, 288) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 275]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:15:31 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" = 275 AND "spree_option_types"."id" = 163 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" = 275) ORDER BY position DESC 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 07:15:31 UTC +00:00], ["option_type_id", 163], ["position", 2], ["product_id", 275], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 163 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" = 163) ORDER BY position 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 07:15:31 UTC +00:00], ["name", "black_white"], ["option_type_id", 163], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.623598' WHERE "spree_products"."id" = 275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 275], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.624895' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (289, 897) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 275]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) 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.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" = 275 AND "spree_option_types"."id" = 163 ORDER 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" = 163 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" = 163) ORDER BY position 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 07:15:31 UTC +00:00], ["name", "colour"], ["option_type_id", 163], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.635090' WHERE "spree_products"."id" = 275 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 275], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.636483' WHERE "spree_products"."id" = 275  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (898, 290) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 275]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 894 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 895 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 896 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 898 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" != 275) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.656232' WHERE "spree_products"."id" = 275  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 894 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.657546' WHERE "spree_products"."id" = 275 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.659199' WHERE "spree_products"."id" = 275  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 895 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.660398' WHERE "spree_products"."id" = 275 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.662158' WHERE "spree_products"."id" = 275  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 896 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.663311' WHERE "spree_products"."id" = 275 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.664868' WHERE "spree_products"."id" = 275  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 897 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.665938' WHERE "spree_products"."id" = 275 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.667273' WHERE "spree_products"."id" = 275  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 898 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.668300' WHERE "spree_products"."id" = 275 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" != 275) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 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 07:15:31.672105' WHERE "spree_products"."id" = 275  (56.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" = 273 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" = 273 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" = 274 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" = 274 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 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" = 571 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 575 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 575 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 576 ORDER BY "lft" SQL (4.8ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (5.2ms) DELETE FROM "spree_properties" SQL (5.5ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.4ms) DELETE FROM "spree_taxonomies" SQL (5.2ms) 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.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, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.828358' WHERE "spree_products"."id" = 276 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 276], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.829978' WHERE "spree_products"."id" = 276  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 899 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:31.831587' WHERE "spree_products"."id" = 276  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 276  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 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, 01 Oct 2012 07:15:31 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 333], ["updated_at", Mon, 01 Oct 2012 07:15:31 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 AND "spree_taxons"."parent_id" = 578 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", 578]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 578], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 333], ["updated_at", Mon, 01 Oct 2012 07:15: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", 578]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 579]] 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 = 579 THEN 578 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 578]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 579]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 276 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (579, 276)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (578, 276) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 276) 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 334 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 334], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (580, 276) 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" != 276) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 899 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" != 276) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-01 07:15:32.017750' WHERE "spree_products"."id" = 276  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 899 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.019769' WHERE "spree_products"."id" = 276 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 276 Row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320Paintings>LandscapeWaterColour2 succesfully SAVED : ID 276 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.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, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.029586' WHERE "spree_products"."id" = 277 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 277], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.031076' WHERE "spree_products"."id" = 277  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 900 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.032720' WHERE "spree_products"."id" = 277  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 277  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 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" = 333 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" = 277 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (578, 277) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 277) 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 335 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 335], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (581, 277) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 277) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 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" = 333 AND "spree_taxons"."parent_id" = 578 AND "spree_taxons"."name" = 'Nature' 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", 578]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 578], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 333], ["updated_at", Mon, 01 Oct 2012 07:15: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", 578]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 582]] 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 = 582 THEN 578 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 578]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 582]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 AND "spree_taxons"."parent_id" = 582 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", 582]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 582], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 333], ["updated_at", Mon, 01 Oct 2012 07:15: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", 582]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 583]] 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 = 583 THEN 582 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 582]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 583]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (582, 277)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (583, 277) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 277) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 900 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" != 277) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 07:15:32.071897' WHERE "spree_products"."id" = 277  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 900 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.073848' WHERE "spree_products"."id" = 277 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 277 Row test_ct_002Demo Excel Loadless blah2011-05-1410030PaintingsOilsPaintings>Nature>Landscape5 succesfully SAVED : ID 277 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.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 07:15: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 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.082765' WHERE "spree_products"."id" = 278 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 278], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.084136' WHERE "spree_products"."id" = 278  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 901 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.085681' WHERE "spree_products"."id" = 278  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 278  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 336 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 336], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 336 AND "spree_taxons"."parent_id" = 584 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", 584]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 584], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 336], ["updated_at", Mon, 01 Oct 2012 07:15: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", 584]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 585]] 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 = 585 THEN 584 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 584]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 585]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 278 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (278, 585)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (278, 584) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 278) 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 337 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 337], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (278, 586) 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" != 278) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 901 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" != 278) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-01 07:15:32.116273' WHERE "spree_products"."id" = 278  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 901 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.118131' WHERE "spree_products"."id" = 278 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 278 Row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 succesfully SAVED : ID 278 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.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", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 279 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.126293' WHERE "spree_products"."id" = 279 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 279], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.127582' WHERE "spree_products"."id" = 279  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 902 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.129036' WHERE "spree_products"."id" = 279  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 279 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 279 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 279  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 279 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" = 336 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" = 336 AND "spree_taxons"."parent_id" = 584 AND "spree_taxons"."name" = 'Landscape' 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" = 279 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 585)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 584) 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" != 279) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 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" = 333 AND "spree_taxons"."parent_id" = 578 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 AND "spree_taxons"."parent_id" = 582 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", 582]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 582], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 333], ["updated_at", Mon, 01 Oct 2012 07:15: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", 582]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 587]] SQL (0.2ms) 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 = 587 THEN 582 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 582]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 587]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 AND "spree_taxons"."parent_id" = 587 AND "spree_taxons"."name" = 'Cliffs' 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", 587]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 587], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 333], ["updated_at", Mon, 01 Oct 2012 07:15: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", 587]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 588]] 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 = 588 THEN 587 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 587]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 588]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 582)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 587)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 588)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 578) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 279) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 902 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" != 279) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:15:32.160073' WHERE "spree_products"."id" = 279  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 902 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.161917' WHERE "spree_products"."id" = 279 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 279 Row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 succesfully SAVED : ID 279 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.0ms) 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, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 280 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.170099' WHERE "spree_products"."id" = 280 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 280], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.171435' WHERE "spree_products"."id" = 280  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 903 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.172937' WHERE "spree_products"."id" = 280  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 280 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 280 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 280  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 280 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" = 336 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" = 336 AND "spree_taxons"."parent_id" = 584 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 336 AND "spree_taxons"."parent_id" = 585 AND "spree_taxons"."name" = 'Bristol' 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", 585]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 585], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 336], ["updated_at", Mon, 01 Oct 2012 07:15: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", 585]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 589]] SQL (0.2ms) 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 = 589 THEN 585 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 585]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 589]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 280 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 585)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 589)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 584) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 280) 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" = 335 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 (280, 581) 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" != 280) LIMIT 1 Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 903 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" != 280) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:15:32.206418' WHERE "spree_products"."id" = 280  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 903 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.208651' WHERE "spree_products"."id" = 280 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 280 Row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 succesfully SAVED : ID 280 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (71.6ms) 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" = 333 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" = 334 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" = 335 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" = 336 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" = 337 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" = 333 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 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" = 578 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 578) 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" = 582 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 582) 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" != 582) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 578 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 582 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" = 587 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" = 588 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.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 587) 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" = 336 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 336 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 585 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 585 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" = 589 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" != 589) 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" = 335 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 335 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" = 581 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" = 337 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 337 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" = 586 ORDER BY "lft" SQL (8.5ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (27.3ms) DELETE FROM "spree_option_types" SQL (5.8ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.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"   (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.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.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 07:15: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 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 281 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.424744' WHERE "spree_products"."id" = 281 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 281], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.426282' WHERE "spree_products"."id" = 281  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 904 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.427833' WHERE "spree_products"."id" = 281  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 281 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 281 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 281  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 281 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 338], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 AND "spree_taxons"."parent_id" = 590 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", 590]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 590], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 338], ["updated_at", Mon, 01 Oct 2012 07:15: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", 590]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 591]] 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 = 591 THEN 590 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 590]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 591]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 281 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (591, 281)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (590, 281) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 281) 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 339 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, 01 Oct 2012 07:15: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", 339], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (592, 281) 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" != 281) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 904 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" != 281) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-10-01 07:15:32.465215' WHERE "spree_products"."id" = 281  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 904 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.467029' WHERE "spree_products"."id" = 281 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 281 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", Mon, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 282 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.632219' WHERE "spree_products"."id" = 282 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 282], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.633725' WHERE "spree_products"."id" = 282  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 905 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.635491' WHERE "spree_products"."id" = 282  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 282 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 282 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 282  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 282 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" = 338 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" = 282 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (590, 282) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 282) 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 340 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 340], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (593, 282) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 282) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 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" = 338 AND "spree_taxons"."parent_id" = 590 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", 590]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 590], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 338], ["updated_at", Mon, 01 Oct 2012 07:15: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", 590]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 594]] 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 = 594 THEN 590 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 590]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 594]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 AND "spree_taxons"."parent_id" = 594 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", 594]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 594], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 338], ["updated_at", Mon, 01 Oct 2012 07:15: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", 594]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 595]] 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 = 595 THEN 594 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 594]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 595]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (594, 282)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (595, 282) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 282) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 905 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 282) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-10-01 07:15:32.675973' WHERE "spree_products"."id" = 282  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 905 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.677969' WHERE "spree_products"."id" = 282 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 282 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.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 07:15: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 07:15:32 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 283 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.687005' WHERE "spree_products"."id" = 283 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 283], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.688613' WHERE "spree_products"."id" = 283  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 906 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.690318' WHERE "spree_products"."id" = 283  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 283 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 283 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 283  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 283 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 341 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 341], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 341 AND "spree_taxons"."parent_id" = 596 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", 596]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 596], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 341], ["updated_at", Mon, 01 Oct 2012 07:15: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", 596]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 597]] 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 = 597 THEN 596 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 596]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 597]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 283 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (283, 597)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (283, 596) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 283) 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, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 342 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 342], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (283, 598) 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" != 283) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 906 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 283) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-10-01 07:15:32.723703' WHERE "spree_products"."id" = 283  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 906 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.725637' WHERE "spree_products"."id" = 283 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 283 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, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 284 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.733968' WHERE "spree_products"."id" = 284 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 284], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.735251' WHERE "spree_products"."id" = 284  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 907 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.736802' WHERE "spree_products"."id" = 284  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 284 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 284 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 284  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 284 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" = 341 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" = 341 AND "spree_taxons"."parent_id" = 596 AND "spree_taxons"."name" = 'Landscape' 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" = 284 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (597, 284)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (596, 284) 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" != 284) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 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" = 338 AND "spree_taxons"."parent_id" = 590 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 AND "spree_taxons"."parent_id" = 594 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", 594]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 594], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 338], ["updated_at", Mon, 01 Oct 2012 07:15: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", 594]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 599]] SQL (0.2ms) 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 = 599 THEN 594 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 594]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 599]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 AND "spree_taxons"."parent_id" = 599 AND "spree_taxons"."name" = 'Cliffs' 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", 599]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 599], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 338], ["updated_at", Mon, 01 Oct 2012 07:15: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", 599]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 600]] 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 = 600 THEN 599 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 599]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 600]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (594, 284)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (599, 284)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (600, 284)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (590, 284) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 284) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 907 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 284) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:15:32.769560' WHERE "spree_products"."id" = 284  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 907 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.771391' WHERE "spree_products"."id" = 284 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 284 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.0ms) 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, 01 Oct 2012 07:15: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, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 285 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.779601' WHERE "spree_products"."id" = 285 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 285], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.780948' WHERE "spree_products"."id" = 285  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 908 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.782494' WHERE "spree_products"."id" = 285  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 285 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 285 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 285  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 285 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" = 341 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" = 341 AND "spree_taxons"."parent_id" = 596 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 341 AND "spree_taxons"."parent_id" = 597 AND "spree_taxons"."name" = 'Bristol' 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", 597]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 597], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 341], ["updated_at", Mon, 01 Oct 2012 07:15: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", 597]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 601]] SQL (0.2ms) 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 = 601 THEN 597 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 597]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 601]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 285 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 597)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 601)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 596) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 285) 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" = 340 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 (285, 593) 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" != 285) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 908 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" != 285) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-10-01 07:15:32.806073' WHERE "spree_products"."id" = 285  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 908 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:32.807947' WHERE "spree_products"."id" = 285 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 285  (5.7ms) 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" = 338 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" = 339 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" = 340 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" = 341 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" = 342 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.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 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" = 590 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 590) 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" = 594 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 594) 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" != 594) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 590 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 594 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"."parent_id" = 599 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" = 600 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.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 599) 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" = 341 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 341 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 597 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 597 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" = 601 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" != 601) 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" = 340 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 340 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" = 593 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" = 342 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 342 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" = 598 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (4.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 (3.3ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.8ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.2ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 343 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 07:15: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", 343], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:15: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", 343], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]]  (5.2ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.1ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (4.1ms) DELETE FROM "spree_taxonomies" SQL (3.1ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 344 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 07:15: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", 344], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]]  (3.9ms) 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, 01 Oct 2012 07:15: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", 344], ["updated_at", Mon, 01 Oct 2012 07:15:32 UTC +00:00]]  (4.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.9ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.9ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (3.5ms) DELETE FROM "spree_zones"  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 345], ["updated_at", Mon, 01 Oct 2012 07:15:33 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, 01 Oct 2012 07:15: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", 345], ["updated_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00]]  (4.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: #  (0.1ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.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 (3.6ms) DELETE FROM "spree_option_values" SQL (3.1ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (4.3ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.3ms) SELECT COUNT(*) FROM "spree_products"   (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.1ms) SELECT COUNT(*) FROM "spree_variants"   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 346 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 346], ["updated_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00]]  (14.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, 01 Oct 2012 07:15: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", 346], ["updated_at", Mon, 01 Oct 2012 07:15:33 UTC +00:00]]  (4.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (58.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (3.6ms) DELETE FROM "spree_product_properties" SQL (3.2ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (6.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 347 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 07:15: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", 347], ["updated_at", Mon, 01 Oct 2012 07:15:56 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, 01 Oct 2012 07:15:56 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", 347], ["updated_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00]]  (5.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", Mon, 01 Oct 2012 07:15:56 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", 347], ["updated_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00]]  (4.1ms) commit transaction Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.9ms) 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 (4.3ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 348 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 348], ["updated_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:15:56 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", 348], ["updated_at", Mon, 01 Oct 2012 07:15:56 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15:56 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", 348], ["updated_at", Mon, 01 Oct 2012 07:15:56 UTC +00:00]]  (5.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" = 348 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 348 LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 348 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (4.7ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (2.9ms) DELETE FROM "spree_zones"  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 349 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 07:15: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", 349], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]]  (5.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", Mon, 01 Oct 2012 07:15: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 349], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]]  (5.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", Mon, 01 Oct 2012 07:15: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", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 349], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]]  (5.2ms) commit transaction ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /Users/autotelik/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 350 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 350], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:15: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 350], ["updated_at", Mon, 01 Oct 2012 07:15:57 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.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 07:15: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", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 350], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]]  (4.7ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product SQL (4.4ms) 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 (3.0ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.2ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 351], ["updated_at", Mon, 01 Oct 2012 07:15:57 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 (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 07:15: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 351], ["updated_at", Mon, 01 Oct 2012 07:15:57 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.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", "Sea"], ["parent_id", nil], ["permalink", "sea"], ["position", 0], ["rgt", 6], ["taxonomy_id", 351], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]]  (4.5ms) commit transaction ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (4.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (3.9ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.2ms) DELETE FROM "spree_variants" SQL (3.7ms) 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.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 (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.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", Mon, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.499451' WHERE "spree_products"."id" = 286 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 286], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.501899' WHERE "spree_products"."id" = 286  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 909 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.506231' WHERE "spree_products"."id" = 286  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 286  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' 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 07:15:57 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:15:57 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 07:15:57 UTC +00:00], ["product_id", nil], ["property_id", 223], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 286, "updated_at" = '2012-10-01 07:15:57.534259' WHERE "spree_product_properties"."id" = 270 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" != 286) 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 07:15:57 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 352 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 352], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 286 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (286, 625) 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 07:15:57 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 353 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 353], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (286, 626) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 286) 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", Mon, 01 Oct 2012 07:15:57 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:15: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" = 286 AND "spree_option_types"."id" = 164 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" = 286) 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 07:15:57 UTC +00:00], ["option_type_id", 164], ["position", 1], ["product_id", 286], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 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" = 164) ORDER BY position 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 07:15:57 UTC +00:00], ["name", "jpeg"], ["option_type_id", 164], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.593674' WHERE "spree_products"."id" = 286 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 286], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.594998' WHERE "spree_products"."id" = 286  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (291, 910) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 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" = 164) ORDER BY position 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 07:15:57 UTC +00:00], ["name", "PDF"], ["option_type_id", 164], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.602777' WHERE "spree_products"."id" = 286 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 286], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.604448' WHERE "spree_products"."id" = 286  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (911, 292) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 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" = 164) ORDER BY position 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 07:15:57 UTC +00:00], ["name", "PNG"], ["option_type_id", 164], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.610285' WHERE "spree_products"."id" = 286 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 286], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.611724' WHERE "spree_products"."id" = 286  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (293, 912) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 286]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 286) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 910 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 911 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 912 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" != 286) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.643978' WHERE "spree_products"."id" = 286  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 910 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.645161' WHERE "spree_products"."id" = 286 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.646472' WHERE "spree_products"."id" = 286  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 911 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.647413' WHERE "spree_products"."id" = 286 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.648749' WHERE "spree_products"."id" = 286  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 912 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:57.649719' WHERE "spree_products"."id" = 286 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 286) 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" = 909 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 909) 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_001_ror_bag.jpeg"], ["attachment_file_size", 16307], ["attachment_height", 240], ["attachment_updated_at", Mon, 01 Oct 2012 07:15:57 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 909], ["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" != 286) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.199298', "count_on_hand" = 25 WHERE "spree_products"."id" = 286 Current 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.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, 01 Oct 2012 07:15: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", Mon, 01 Oct 2012 07:15:58 UTC +00:00]] Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.219458' WHERE "spree_products"."id" = 287 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 287], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.222213' WHERE "spree_products"."id" = 287  (0.2ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 913 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.226233' WHERE "spree_products"."id" = 287  (0.3ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 287  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' 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 07:15:58 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:15:58 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 07:15:58 UTC +00:00], ["product_id", nil], ["property_id", 224], ["updated_at", Mon, 01 Oct 2012 07:15:58 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 287, "updated_at" = '2012-10-01 07:15:58.242450' WHERE "spree_product_properties"."id" = 271 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" != 287) 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" = 352 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" = 287 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (625, 287) 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 07:15:58 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:15:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 354 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 07:15: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", 354], ["updated_at", Mon, 01 Oct 2012 07:15:58 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (627, 287) 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 07:15:58 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:15:58 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 355 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:15: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", 355], ["updated_at", Mon, 01 Oct 2012 07:15:58 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (628, 287) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 287) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 287 AND "spree_option_types"."id" = 164 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 287) 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 07:15:58 UTC +00:00], ["option_type_id", 164], ["position", 1], ["product_id", 287], ["updated_at", Mon, 01 Oct 2012 07:15:58 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.288202' WHERE "spree_products"."id" = 287 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 287], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.290832' WHERE "spree_products"."id" = 287  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (291, 914) Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.297487' WHERE "spree_products"."id" = 287 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 287], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.299284' WHERE "spree_products"."id" = 287  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (292, 915) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.303226' WHERE "spree_products"."id" = 287 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 287], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.304830' WHERE "spree_products"."id" = 287  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (293, 916) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 287]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 287) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 914 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 915 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 916 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" != 287) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.320770' WHERE "spree_products"."id" = 287  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 914 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.322451' WHERE "spree_products"."id" = 287 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.324483' WHERE "spree_products"."id" = 287  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 915 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.325929' WHERE "spree_products"."id" = 287 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.327906' WHERE "spree_products"."id" = 287  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 916 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:15:58.329333' WHERE "spree_products"."id" = 287 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 287) 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" = 913 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 913) 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 07:15:58 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 913], ["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" != 287) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.071842', "count_on_hand" = 11 WHERE "spree_products"."id" = 287 Current value 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", Sat, 07 Jan 2012 00:00:00 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.086095' WHERE "spree_products"."id" = 288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 288], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.087725' WHERE "spree_products"."id" = 288  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 917 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.089837' WHERE "spree_products"."id" = 288  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 288  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' 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 07:16:00 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:00 UTC +00:00], ["product_id", nil], ["property_id", 225], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 288, "updated_at" = '2012-10-01 07:16:00.099104' WHERE "spree_product_properties"."id" = 272 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 07:16:00 UTC +00:00], ["product_id", nil], ["property_id", 224], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00], ["value", "Example free value"]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 288, "updated_at" = '2012-10-01 07:16:00.103832' WHERE "spree_product_properties"."id" = 273 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 07:16:00 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:00 UTC +00:00], ["product_id", nil], ["property_id", 226], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 288, "updated_at" = '2012-10-01 07:16:00.109346' WHERE "spree_product_properties"."id" = 274 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 288) 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 07:16:00 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 356 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 10], ["taxonomy_id", 356], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 288 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (629, 288) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 288) 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" = 288 AND "spree_option_types"."id" = 164 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" = 288) ORDER BY position DESC 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 07:16:00 UTC +00:00], ["option_type_id", 164], ["position", 1], ["product_id", 288], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.131829' WHERE "spree_products"."id" = 288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 288], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.133331' WHERE "spree_products"."id" = 288  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (291, 918) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.137040' WHERE "spree_products"."id" = 288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 288], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.138424' WHERE "spree_products"."id" = 288  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (919, 292) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 164 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.141736' WHERE "spree_products"."id" = 288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 288], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.143059' WHERE "spree_products"."id" = 288  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (920, 293) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 288]] 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 07:16:00 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:00 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" = 288 AND "spree_option_types"."id" = 165 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" = 288) ORDER BY position DESC 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 07:16:00 UTC +00:00], ["option_type_id", 165], ["position", 2], ["product_id", 288], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 165 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" = 165) ORDER BY position 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 07:16:00 UTC +00:00], ["name", "black_white"], ["option_type_id", 165], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.158174' WHERE "spree_products"."id" = 288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 288], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.159681' WHERE "spree_products"."id" = 288  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (921, 294) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 165 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" = 165) ORDER BY position 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 07:16:00 UTC +00:00], ["name", "colour"], ["option_type_id", 165], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.165859' WHERE "spree_products"."id" = 288 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 288], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.167228' WHERE "spree_products"."id" = 288  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (922, 295) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 288]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 288) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 918 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 919 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 920 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 921 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 922 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" != 288) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.190053' WHERE "spree_products"."id" = 288  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 918 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.191959' WHERE "spree_products"."id" = 288 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.193843' WHERE "spree_products"."id" = 288  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 919 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.195074' WHERE "spree_products"."id" = 288 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.196937' WHERE "spree_products"."id" = 288  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 920 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.198230' WHERE "spree_products"."id" = 288 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.199817' WHERE "spree_products"."id" = 288  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 921 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.201044' WHERE "spree_products"."id" = 288 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.400326' WHERE "spree_products"."id" = 288  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 922 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.402214' WHERE "spree_products"."id" = 288 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 288) 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" = 917 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 917) 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 07:16:00 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 917], ["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.3ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 288) LIMIT 1  (0.3ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.802746', "count_on_hand" = 53 WHERE "spree_products"."id" = 288  (6.7ms) 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.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 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 = 909) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 286)) Spree::Image Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 909 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" = 286 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 = 909) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 286)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 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 = 913) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 287)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 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 = 917) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 288))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (2.7ms) DELETE FROM "spree_option_values" SQL (3.5ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.5ms) DELETE FROM "spree_taxonomies" SQL (4.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 : DEMO_001 Current value to assign : Demo Product for AR Loader Current 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, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.936783' WHERE "spree_products"."id" = 289 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 289], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.938582' WHERE "spree_products"."id" = 289  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 923 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.940301' WHERE "spree_products"."id" = 289  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 289  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' 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 07:16:00 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:00 UTC +00:00], ["product_id", nil], ["property_id", 227], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 289, "updated_at" = '2012-10-01 07:16:00.949061' WHERE "spree_product_properties"."id" = 275 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" != 289) 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 07:16:00 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 357 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 07:16: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", 357], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 289 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (630, 289) 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 07:16:00 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 358 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 358], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (631, 289) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 289) 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, 01 Oct 2012 07:16:00 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:00 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" = 289 AND "spree_option_types"."id" = 166 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" = 289) ORDER BY position DESC 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 07:16:00 UTC +00:00], ["option_type_id", 166], ["position", 1], ["product_id", 289], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 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" = 166) ORDER BY position 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 07:16:00 UTC +00:00], ["name", "jpeg"], ["option_type_id", 166], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.982053' WHERE "spree_products"."id" = 289 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 289], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.983424' WHERE "spree_products"."id" = 289  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (924, 296) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 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" = 166) ORDER BY position 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 07:16:00 UTC +00:00], ["name", "PDF"], ["option_type_id", 166], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.988668' WHERE "spree_products"."id" = 289 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 289], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.990026' WHERE "spree_products"."id" = 289  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (297, 925) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 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" = 166) ORDER BY position 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 07:16:00 UTC +00:00], ["name", "PNG"], ["option_type_id", 166], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:00 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.995241' WHERE "spree_products"."id" = 289 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 289], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:00.996603' WHERE "spree_products"."id" = 289  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (298, 926) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 289]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 289) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 924 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 925 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 926 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" != 289) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.013251' WHERE "spree_products"."id" = 289  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 924 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.014752' WHERE "spree_products"."id" = 289 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.016655' WHERE "spree_products"."id" = 289  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 925 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.017932' WHERE "spree_products"."id" = 289 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.019537' WHERE "spree_products"."id" = 289  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 926 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.020606' WHERE "spree_products"."id" = 289 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 289) 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" = 923 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 923) 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 07:16:01 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 923], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_001_ror_bag.jpeg" 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" != 289) LIMIT 1  (0.5ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.389342', "count_on_hand" = 25 WHERE "spree_products"."id" = 289 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 289 Current value to assign : DEMO_002 Current value to 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 07:16: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, 01 Oct 2012 07:16:01 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.402489' WHERE "spree_products"."id" = 290 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 290], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.404127' WHERE "spree_products"."id" = 290  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 927 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.406012' WHERE "spree_products"."id" = 290  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 290  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' 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 07:16:01 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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", Mon, 01 Oct 2012 07:16:01 UTC +00:00], ["product_id", nil], ["property_id", 228], ["updated_at", Mon, 01 Oct 2012 07:16:01 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 290, "updated_at" = '2012-10-01 07:16:01.416477' WHERE "spree_product_properties"."id" = 276 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" != 290) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 357 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" = 290 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (290, 630) 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 07:16:01 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:16:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 359 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 359], ["updated_at", Mon, 01 Oct 2012 07:16:01 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (290, 632) 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 07:16:01 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:01 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 360 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 360], ["updated_at", Mon, 01 Oct 2012 07:16:01 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (290, 633) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 290) 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" = 290 AND "spree_option_types"."id" = 166 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" = 290) ORDER BY position DESC 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 07:16:01 UTC +00:00], ["option_type_id", 166], ["position", 1], ["product_id", 290], ["updated_at", Mon, 01 Oct 2012 07:16:01 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.445921' WHERE "spree_products"."id" = 290 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 290], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.447373' WHERE "spree_products"."id" = 290  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (296, 928) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.450701' WHERE "spree_products"."id" = 290 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 290], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.452019' WHERE "spree_products"."id" = 290  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (929, 297) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.455266' WHERE "spree_products"."id" = 290 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 290], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.456602' WHERE "spree_products"."id" = 290  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (298, 930) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 290]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 290) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 928 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 929 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 930 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" != 290) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.471120' WHERE "spree_products"."id" = 290  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 928 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.472385' WHERE "spree_products"."id" = 290 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.473926' WHERE "spree_products"."id" = 290  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 929 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.474994' WHERE "spree_products"."id" = 290 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.476512' WHERE "spree_products"."id" = 290  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 930 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:01.477593' WHERE "spree_products"."id" = 290 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 290) 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" = 927 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" = 927) 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 07:16:01 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 927], ["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" != 290) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.358286', "count_on_hand" = 11 WHERE "spree_products"."id" = 290 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 290 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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, 01 Oct 2012 07:16: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 07:16:03 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.375850' WHERE "spree_products"."id" = 291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 291], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.378028' WHERE "spree_products"."id" = 291  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 931 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.380403' WHERE "spree_products"."id" = 291  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 291  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' 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 07:16:03 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["product_id", nil], ["property_id", 229], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 291, "updated_at" = '2012-10-01 07:16:03.393470' WHERE "spree_product_properties"."id" = 277 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 07:16:03 UTC +00:00], ["product_id", nil], ["property_id", 228], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 291, "updated_at" = '2012-10-01 07:16:03.397998' WHERE "spree_product_properties"."id" = 278 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 07:16:03 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["product_id", nil], ["property_id", 230], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 291, "updated_at" = '2012-10-01 07:16:03.403763' WHERE "spree_product_properties"."id" = 279 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 291) 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 07:16:03 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 361 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 361], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 291 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (634, 291) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 291) 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" = 291 AND "spree_option_types"."id" = 166 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" = 291) ORDER BY position DESC 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 07:16:03 UTC +00:00], ["option_type_id", 166], ["position", 1], ["product_id", 291], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.426811' WHERE "spree_products"."id" = 291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 291], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.428484' WHERE "spree_products"."id" = 291  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (296, 932) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.432466' WHERE "spree_products"."id" = 291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 291], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.434061' WHERE "spree_products"."id" = 291  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (297, 933) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 166 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.438215' WHERE "spree_products"."id" = 291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 291], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.439939' WHERE "spree_products"."id" = 291  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (298, 934) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 291]] 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 07:16:03 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:03 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" = 291 AND "spree_option_types"."id" = 167 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" = 291) ORDER BY position DESC 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 07:16:03 UTC +00:00], ["option_type_id", 167], ["position", 2], ["product_id", 291], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 167 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" = 167) ORDER BY position 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 07:16:03 UTC +00:00], ["name", "black_white"], ["option_type_id", 167], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.456986' WHERE "spree_products"."id" = 291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 291], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.458504' WHERE "spree_products"."id" = 291  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (935, 299) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 167 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" = 167) ORDER BY position 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 07:16:03 UTC +00:00], ["name", "colour"], ["option_type_id", 167], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.464562' WHERE "spree_products"."id" = 291 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 291], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.465913' WHERE "spree_products"."id" = 291  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (936, 300) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 291]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 291) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 932 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 933 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 934 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 935 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" = 936 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" != 291) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.489442' WHERE "spree_products"."id" = 291  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 932 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.491065' WHERE "spree_products"."id" = 291 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.492775' WHERE "spree_products"."id" = 291  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 933 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.493912' WHERE "spree_products"."id" = 291 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.495356' WHERE "spree_products"."id" = 291  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 934 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.496406' WHERE "spree_products"."id" = 291 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.498004' WHERE "spree_products"."id" = 291  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 935 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.499308' WHERE "spree_products"."id" = 291 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.500942' WHERE "spree_products"."id" = 291  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 936 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.502017' WHERE "spree_products"."id" = 291 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 291) 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" = 931 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 931) 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 07:16:03 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 931], ["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-third-row-in-future' AND "spree_products"."id" != 291) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.794534', "count_on_hand" = 53 WHERE "spree_products"."id" = 291 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 291 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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 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" = 289 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 = 923) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 289)) 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" = 289 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 = 923) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 289)) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 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 = 927) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 290)) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 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 = 931) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 291))  (0.1ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_products" SQL (3.8ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.7ms) DELETE FROM "spree_option_types" SQL (4.2ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (4.2ms) DELETE FROM "spree_taxonomies" SQL (3.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.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 07:16: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 07:16:03 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.916815' WHERE "spree_products"."id" = 292 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 292], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.918761' WHERE "spree_products"."id" = 292  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 937 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:03.920545' WHERE "spree_products"."id" = 292  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 292  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' 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 07:16:03 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["product_id", nil], ["property_id", 231], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 292, "updated_at" = '2012-10-01 07:16:03.929498' WHERE "spree_product_properties"."id" = 280 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" != 292) 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, 01 Oct 2012 07:16:03 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:03 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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 07:16: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", 362], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 292 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (635, 292) 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 07:16:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 363 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 363], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (636, 292) 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" != 292) 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, 01 Oct 2012 07:16:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:04 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" = 292 AND "spree_option_types"."id" = 168 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" = 292) ORDER BY position DESC 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 07:16:04 UTC +00:00], ["option_type_id", 168], ["position", 1], ["product_id", 292], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 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" = 168) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 168], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.155286' WHERE "spree_products"."id" = 292 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 292], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.156722' WHERE "spree_products"."id" = 292  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (301, 938) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 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" = 168) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 168], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.161859' WHERE "spree_products"."id" = 292 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 292], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.163154' WHERE "spree_products"."id" = 292  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (939, 302) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 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" = 168) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 168], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.168249' WHERE "spree_products"."id" = 292 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 292], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.169563' WHERE "spree_products"."id" = 292  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (940, 303) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 292]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 292) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 938 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 939 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 940 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" != 292) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.185542' WHERE "spree_products"."id" = 292  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 938 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.186960' WHERE "spree_products"."id" = 292 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.188685' WHERE "spree_products"."id" = 292  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 939 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.189983' WHERE "spree_products"."id" = 292 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.191786' WHERE "spree_products"."id" = 292  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 940 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.192882' WHERE "spree_products"."id" = 292 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 292) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.196420', "count_on_hand" = 25 WHERE "spree_products"."id" = 292 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 292 Current value to assign : DEMO_002 Current value to 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 07:16: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", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.206211' WHERE "spree_products"."id" = 293 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 293], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.207666' WHERE "spree_products"."id" = 293  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 941 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.209273' WHERE "spree_products"."id" = 293  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 293  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' 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 07:16:04 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:04 UTC +00:00], ["product_id", nil], ["property_id", 232], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 293, "updated_at" = '2012-10-01 07:16:04.216859' WHERE "spree_product_properties"."id" = 281 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" != 293) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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" = 293 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (635, 293) 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 07:16:04 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 364 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 364], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (637, 293) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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" = 362 AND "spree_taxons"."parent_id" = 635 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", 635]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 635], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 362], ["updated_at", Mon, 01 Oct 2012 07:16: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", 635]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 638]] SQL (0.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 = 638 THEN 635 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 635]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 638]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 AND "spree_taxons"."parent_id" = 638 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", 638]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 638], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 362], ["updated_at", Mon, 01 Oct 2012 07:16: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", 638]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 639]] 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 = 639 THEN 638 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 638]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 639]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (638, 293)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (639, 293) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 293) 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" = 293 AND "spree_option_types"."id" = 168 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" = 293) ORDER BY position DESC 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 07:16:04 UTC +00:00], ["option_type_id", 168], ["position", 1], ["product_id", 293], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.252488' WHERE "spree_products"."id" = 293 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 293], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.253871' WHERE "spree_products"."id" = 293  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (942, 301) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.256881' WHERE "spree_products"."id" = 293 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 293], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.258085' WHERE "spree_products"."id" = 293  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (943, 302) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.260968' WHERE "spree_products"."id" = 293 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 293], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.262130' WHERE "spree_products"."id" = 293  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (944, 303) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 293]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 293) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 942 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 943 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 944 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" != 293) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.276560' WHERE "spree_products"."id" = 293  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 942 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.277744' WHERE "spree_products"."id" = 293 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.279159' WHERE "spree_products"."id" = 293  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 943 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.280149' WHERE "spree_products"."id" = 293 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.281499' WHERE "spree_products"."id" = 293  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 944 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.282443' WHERE "spree_products"."id" = 293 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 293) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.285536', "count_on_hand" = 11 WHERE "spree_products"."id" = 293 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 293 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:16: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, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.293748' WHERE "spree_products"."id" = 294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 294], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.295088' WHERE "spree_products"."id" = 294  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 945 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.296656' WHERE "spree_products"."id" = 294  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 294  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' 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 07:16:04 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:04 UTC +00:00], ["product_id", nil], ["property_id", 233], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 294, "updated_at" = '2012-10-01 07:16:04.303672' WHERE "spree_product_properties"."id" = 282 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 07:16:04 UTC +00:00], ["product_id", nil], ["property_id", 232], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 294, "updated_at" = '2012-10-01 07:16:04.306346' WHERE "spree_product_properties"."id" = 283 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 07:16:04 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:04 UTC +00:00], ["product_id", nil], ["property_id", 234], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 294, "updated_at" = '2012-10-01 07:16:04.309908' WHERE "spree_product_properties"."id" = 284 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 294) 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 07:16:04 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 365 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 365], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 294 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (294, 640) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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" = 362 AND "spree_taxons"."parent_id" = 635 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", 635]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 635], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 362], ["updated_at", Mon, 01 Oct 2012 07:16: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", 635]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 641]] 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 = 641 THEN 635 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 635]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 641]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (294, 641)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (294, 635) 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" != 294) 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" = 294 AND "spree_option_types"."id" = 168 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" = 294) ORDER BY position DESC 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 07:16:04 UTC +00:00], ["option_type_id", 168], ["position", 1], ["product_id", 294], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.336708' WHERE "spree_products"."id" = 294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 294], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.338022' WHERE "spree_products"."id" = 294  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (301, 946) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.341045' WHERE "spree_products"."id" = 294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 294], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.342258' WHERE "spree_products"."id" = 294  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (302, 947) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 168 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.345152' WHERE "spree_products"."id" = 294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 294], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.346318' WHERE "spree_products"."id" = 294  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (303, 948) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 294]] 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 07:16:04 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:04 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" = 294 AND "spree_option_types"."id" = 169 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" = 294) ORDER BY position DESC 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 07:16:04 UTC +00:00], ["option_type_id", 169], ["position", 2], ["product_id", 294], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 169 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" = 169) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "black_white"], ["option_type_id", 169], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.358977' WHERE "spree_products"."id" = 294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 294], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.360256' WHERE "spree_products"."id" = 294  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (304, 949) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 169 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" = 169) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "colour"], ["option_type_id", 169], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.365436' WHERE "spree_products"."id" = 294 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 294], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.366666' WHERE "spree_products"."id" = 294  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (305, 950) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 294]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 294) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 946 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 947 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 948 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 949 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 950 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" != 294) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.383117' WHERE "spree_products"."id" = 294  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 946 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.384698' WHERE "spree_products"."id" = 294 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.387184' WHERE "spree_products"."id" = 294  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 947 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.388449' WHERE "spree_products"."id" = 294 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.390028' WHERE "spree_products"."id" = 294  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 948 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.391241' WHERE "spree_products"."id" = 294 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.393027' WHERE "spree_products"."id" = 294  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 949 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.394278' WHERE "spree_products"."id" = 294 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.395886' WHERE "spree_products"."id" = 294  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 950 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.396960' WHERE "spree_products"."id" = 294 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 294) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.400891', "count_on_hand" = 53 WHERE "spree_products"."id" = 294 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 294 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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.2ms) 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" = 294 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 = 945) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 294)) Excel Loader processing 0 rows  (0.1ms) begin transaction  (0.0ms) commit transaction Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 294]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 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 = 945) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 294)) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.5ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.8ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (4.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 Current value to assign : Demo Product for AR Loader Current 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, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.720153' WHERE "spree_products"."id" = 295 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 295], ["sku", "MULTI_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.722364' WHERE "spree_products"."id" = 295  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 951 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.724665' WHERE "spree_products"."id" = 295  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 295  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 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, 01 Oct 2012 07:16:04 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["product_id", nil], ["property_id", 235], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["value", nil]]  (0.3ms) UPDATE "spree_product_properties" SET "product_id" = 295, "updated_at" = '2012-10-01 07:16:04.740955' WHERE "spree_product_properties"."id" = 285 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" != 295) 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, 01 Oct 2012 07:16:04 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 366 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 07:16: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", 366], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 295 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (642, 295) 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 07:16:04 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 367], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (643, 295) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 295) 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", Mon, 01 Oct 2012 07:16:04 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 295 AND "spree_option_types"."id" = 170 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 295) 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 07:16:04 UTC +00:00], ["option_type_id", 170], ["position", 1], ["product_id", 295], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 170 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" = 170) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "jpeg"], ["option_type_id", 170], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.783756' WHERE "spree_products"."id" = 295 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 295], ["sku", "MULTI_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.785254' WHERE "spree_products"."id" = 295  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (952, 306) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 170 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" = 170) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "PDF"], ["option_type_id", 170], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.790389' WHERE "spree_products"."id" = 295 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 295], ["sku", "MULTI_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.791700' WHERE "spree_products"."id" = 295  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (953, 307) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 170 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" = 170) ORDER BY position 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 07:16:04 UTC +00:00], ["name", "PNG"], ["option_type_id", 170], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:04 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.797792' WHERE "spree_products"."id" = 295 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 295], ["sku", "MULTI_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.799525' WHERE "spree_products"."id" = 295  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (308, 954) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 295]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 295) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 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" = 295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 952 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 953 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 954 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" != 295) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.819066' WHERE "spree_products"."id" = 295  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 952 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.821136' WHERE "spree_products"."id" = 295 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.823622' WHERE "spree_products"."id" = 295  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 953 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.825167' WHERE "spree_products"."id" = 295 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.826833' WHERE "spree_products"."id" = 295  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 954 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:04.827897' WHERE "spree_products"."id" = 295 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 295) 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" = 951 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 951) 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 07:16:04 UTC +00:00], ["attachment_width", 240], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 951], ["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" != 295) LIMIT 1 Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 951) ORDER BY position DESC LIMIT 1 SQL (0.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 07:16:05 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 951], ["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" != 295) LIMIT 1 Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 951) ORDER BY position DESC LIMIT 1 SQL (0.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", Mon, 01 Oct 2012 07:16:05 UTC +00:00], ["attachment_width", 240], ["position", 3], ["type", "Spree::Image"], ["viewable_id", 951], ["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" != 295) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.754485', "count_on_hand" = 25 WHERE "spree_products"."id" = 295 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 295 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:16: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 07:16:05 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.768192' WHERE "spree_products"."id" = 296 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 296], ["sku", "MULTI_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.769803' WHERE "spree_products"."id" = 296  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 955 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.771532' WHERE "spree_products"."id" = 296  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 296  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' 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 07:16:05 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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", Mon, 01 Oct 2012 07:16:05 UTC +00:00], ["product_id", nil], ["property_id", 236], ["updated_at", Mon, 01 Oct 2012 07:16:05 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 296, "updated_at" = '2012-10-01 07:16:05.787248' WHERE "spree_product_properties"."id" = 286 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" != 296) 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" = 366 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" = 296 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (642, 296) Spree::Taxonomy Load (0.2ms) 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", Mon, 01 Oct 2012 07:16:05 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:16:05 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 368 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 368], ["updated_at", Mon, 01 Oct 2012 07:16:05 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (644, 296) 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 07:16:05 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:05 UTC +00:00]] Spree::Taxon Load (0.3ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 369 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 369], ["updated_at", Mon, 01 Oct 2012 07:16:05 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (645, 296) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 296) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 296 AND "spree_option_types"."id" = 170 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" = 296) ORDER BY position DESC 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 07:16:05 UTC +00:00], ["option_type_id", 170], ["position", 1], ["product_id", 296], ["updated_at", Mon, 01 Oct 2012 07:16:05 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 170 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.829204' WHERE "spree_products"."id" = 296 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 296], ["sku", "MULTI_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.831110' WHERE "spree_products"."id" = 296  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (306, 956) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 170 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.835795' WHERE "spree_products"."id" = 296 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 296], ["sku", "MULTI_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.838932' WHERE "spree_products"."id" = 296  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (307, 957) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 170 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.844859' WHERE "spree_products"."id" = 296 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 296], ["sku", "MULTI_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.846748' WHERE "spree_products"."id" = 296  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (958, 308) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 296]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 296) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 956 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 957 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 958 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" != 296) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.863600' WHERE "spree_products"."id" = 296  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 956 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.864912' WHERE "spree_products"."id" = 296 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.866551' WHERE "spree_products"."id" = 296  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 957 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.867747' WHERE "spree_products"."id" = 296 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.869390' WHERE "spree_products"."id" = 296  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 958 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:05.870517' WHERE "spree_products"."id" = 296 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 296) 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" = 955 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Asset Load (0.4ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 955) 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 07:16:05 UTC +00:00], ["attachment_width", 2424], ["position", 1], ["type", "Spree::Image"], ["viewable_id", 955], ["viewable_type", "Spree::Variant"]] Product assigned Image from : "fixtures/images/DEMO_002_Powerstation.jpg" Spree::Asset Load (0.5ms) SELECT "spree_assets".* FROM "spree_assets" WHERE ("spree_assets"."viewable_id" = 955) 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 07:16:07 UTC +00:00], ["attachment_width", 240], ["position", 2], ["type", "Spree::Image"], ["viewable_id", 955], ["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" != 296) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.308646', "count_on_hand" = 11 WHERE "spree_products"."id" = 296 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 296 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 SQLite3::SQLException: no such column: spree_products.sku: SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."sku" = 'MULTI_002' LIMIT 1 Booted Spree using version 1.1.3 SQL (8.0ms) DELETE FROM "spree_products" SQL (3.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.9ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (2.7ms) DELETE FROM "spree_properties" SQL (4.7ms) DELETE FROM "spree_product_properties" SQL (3.4ms) DELETE FROM "spree_variants" SQL (4.8ms) DELETE FROM "spree_taxons" SQL (3.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.0ms) commit transaction PRODUCT # MASTER: # SQL (4.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.2ms) 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, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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 ROWRest of World 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, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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 UKUnited Kingdom 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.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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 EUREurope 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.1ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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 NANorth America succesfully SAVED : ID 70 Current value to assign : Current value to assign :  (3.5ms) commit transaction  (0.1ms) SELECT COUNT(*) 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 (2.9ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (4.4ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (3.7ms) DELETE FROM "spree_taxons" SQL (2.5ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (4.4ms) 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", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "Rest of World"], ["name", "ROW"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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" = 71 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "United Kingdom"], ["name", "UK"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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 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.2ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "Europe"], ["name", "EUR"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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 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", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["default_tax", false], ["description", "North America"], ["name", "NA"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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  (3.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "spree_zones" SQL (4.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (4.5ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.6ms) 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.0ms) commit transaction PRODUCT # MASTER: # SQL (3.0ms) 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 (3.7ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (3.7ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.6ms) 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.2ms) SELECT COUNT(*) FROM "spree_products"  (0.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (4.0ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.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.2ms) 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.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", Mon, 01 Oct 2012 07:16:08 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, 01 Oct 2012 07:16:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 297 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.673389' WHERE "spree_products"."id" = 297 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 297], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.675206' WHERE "spree_products"."id" = 297  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 959 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.677547' WHERE "spree_products"."id" = 297  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 297 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 297 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 297  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 297 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" = 959 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" != 297) 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", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:08 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" = 297 AND "spree_option_types"."id" = 171 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" = 297) 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 07:16:08 UTC +00:00], ["option_type_id", 171], ["position", 1], ["product_id", 297], ["updated_at", Mon, 01 Oct 2012 07:16: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" != 297) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.868212', "count_on_hand" = 12 WHERE "spree_products"."id" = 297  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 959 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.871368' WHERE "spree_products"."id" = 297 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 297 Row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.7832012mime_type succesfully SAVED : ID 297 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, 01 Oct 2012 07:16:08 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, 01 Oct 2012 07:16:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 298 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.881387' WHERE "spree_products"."id" = 298 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 298], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.882847' WHERE "spree_products"."id" = 298  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 960 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.884600' WHERE "spree_products"."id" = 298  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 298 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 298 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 298  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 298 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" = 960 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" != 298) 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" = 298 AND "spree_option_types"."id" = 171 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 298) ORDER BY position DESC 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 07:16:08 UTC +00:00], ["option_type_id", 171], ["position", 1], ["product_id", 298], ["updated_at", Mon, 01 Oct 2012 07:16: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" != 298) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.899988', "count_on_hand" = 5 WHERE "spree_products"."id" = 298  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 960 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.902272' WHERE "spree_products"."id" = 298 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 298 Row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100305mime_type succesfully SAVED : ID 298 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.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, 01 Oct 2012 07:16:08 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, 01 Oct 2012 07:16:08 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 299 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.911722' WHERE "spree_products"."id" = 299 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 299], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.913097' WHERE "spree_products"."id" = 299  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 961 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.914719' WHERE "spree_products"."id" = 299  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 299 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 299 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 299  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 299 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" = 961 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" != 299) 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" = 299 AND "spree_option_types"."id" = 171 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" = 299) ORDER BY position DESC 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 07:16:08 UTC +00:00], ["option_type_id", 171], ["position", 1], ["product_id", 299], ["updated_at", Mon, 01 Oct 2012 07:16:08 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", Mon, 01 Oct 2012 07:16:08 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 299 AND "spree_option_types"."id" = 172 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" = 299) ORDER BY position DESC 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 07:16:08 UTC +00:00], ["option_type_id", 172], ["position", 2], ["product_id", 299], ["updated_at", Mon, 01 Oct 2012 07:16: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" != 299) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.933887', "count_on_hand" = 23 WHERE "spree_products"."id" = 299  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 961 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:08.935727' WHERE "spree_products"."id" = 299 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 299 Row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type succesfully SAVED : ID 299 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (176.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-01 07:16:09.117770')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-01 07:16:09.118535')  (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" = 297 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" = 297 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 297 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" = 299 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.2ms) 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 (3.8ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.3ms) 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.1ms) 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 (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 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 300 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.184383' WHERE "spree_products"."id" = 300 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 300], ["sku", "SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.186059' WHERE "spree_products"."id" = 300  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 962 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.187698' WHERE "spree_products"."id" = 300  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 300 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 300 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 300  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 300 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" = 962 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" != 300) 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", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 300 AND "spree_option_types"."id" = 173 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" = 300) 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 07:16:09 UTC +00:00], ["option_type_id", 173], ["position", 1], ["product_id", 300], ["updated_at", Mon, 01 Oct 2012 07:16:09 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 300) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.208573', "count_on_hand" = 12 WHERE "spree_products"."id" = 300  (0.3ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 962 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.213386' WHERE "spree_products"."id" = 300 SQL (0.2ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 300 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.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.2ms) 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", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.239642' WHERE "spree_products"."id" = 301 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 301], ["sku", "SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.242146' WHERE "spree_products"."id" = 301  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 963 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.245510' WHERE "spree_products"."id" = 301  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 301  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 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" = 963 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" != 301) 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" = 301 AND "spree_option_types"."id" = 173 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 301) 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 07:16:09 UTC +00:00], ["option_type_id", 173], ["position", 1], ["product_id", 301], ["updated_at", Mon, 01 Oct 2012 07:16:09 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.2ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 301) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.267595', "count_on_hand" = 5 WHERE "spree_products"."id" = 301  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 963 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.270819' WHERE "spree_products"."id" = 301 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 301 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", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.281003' WHERE "spree_products"."id" = 302 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 302], ["sku", "SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.282681' WHERE "spree_products"."id" = 302  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 964 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.284876' WHERE "spree_products"."id" = 302  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 302  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 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" = 964 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" != 302) 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" = 302 AND "spree_option_types"."id" = 173 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" = 302) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 173], ["position", 1], ["product_id", 302], ["updated_at", Mon, 01 Oct 2012 07:16:09 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", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" = 302 AND "spree_option_types"."id" = 174 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" = 302) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 174], ["position", 2], ["product_id", 302], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 302) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.304597', "count_on_hand" = 23 WHERE "spree_products"."id" = 302  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 964 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.306963' WHERE "spree_products"."id" = 302 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 302  (6.5ms) 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-01 07:16:09.318294')  (0.1ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-10-01 07:16:09.318996')  (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" = 300 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" = 300 ORDER BY spree_option_types.position  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 300 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.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (75.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 (3.3ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (3.1ms) DELETE FROM "spree_product_properties" SQL (2.5ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (2.7ms) 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.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.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, 01 Oct 2012 08:16:09 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.464245' WHERE "spree_products"."id" = 303 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 303], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.465931' WHERE "spree_products"."id" = 303  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 965 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.467618' WHERE "spree_products"."id" = 303  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 303  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 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, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" = 303 AND "spree_option_types"."id" = 175 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" = 303) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 175], ["position", 1], ["product_id", 303], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 303) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 303 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.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", Mon, 01 Oct 2012 08:16:09 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.497031' WHERE "spree_products"."id" = 304 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 304], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.498735' WHERE "spree_products"."id" = 304  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 966 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.501190' WHERE "spree_products"."id" = 304  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 304  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 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.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" = 304 AND "spree_option_types"."id" = 175 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" = 304) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 175], ["position", 1], ["product_id", 304], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 304) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 304 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, 01 Oct 2012 08:16:09 UTC +00:00], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.522614' WHERE "spree_products"."id" = 305 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 305], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.524151' WHERE "spree_products"."id" = 305  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 967 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.526011' WHERE "spree_products"."id" = 305  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 305  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 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" = 305 AND "spree_option_types"."id" = 175 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" = 305) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 175], ["position", 1], ["product_id", 305], ["updated_at", Mon, 01 Oct 2012 07:16:09 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", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" = 305 AND "spree_option_types"."id" = 176 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" = 305) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 176], ["position", 2], ["product_id", 305], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 305) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 305 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.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" = 303 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" SQL (4.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (3.8ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.4ms) DELETE FROM "spree_taxons" SQL (3.3ms) 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.0ms) commit transaction PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"meta_description"=>"super duper meta desc.", "cost_price"=>1.0, "meta_keywords"=>"techno dubstep d&b", "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.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", nil], ["count_on_hand", 0], ["created_at", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.623578' WHERE "spree_products"."id" = 306 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 306], ["sku", "SPEC_SIMPLE_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.625250' WHERE "spree_products"."id" = 306  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 968 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.626962' WHERE "spree_products"."id" = 306  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 306  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 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.2ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" = 306 AND "spree_option_types"."id" = 177 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" = 306) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 177], ["position", 1], ["product_id", 306], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 306) LIMIT 1 Row SIMPLE_001Simple Product for AR Loaderblah blah345.78mime_type succesfully SAVED : ID 306 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, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.802774' WHERE "spree_products"."id" = 307 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 307], ["sku", "SPEC_SIMPLE_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.804156' WHERE "spree_products"."id" = 307  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 969 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.805739' WHERE "spree_products"."id" = 307  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 307  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 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.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" = 307 AND "spree_option_types"."id" = 177 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" = 307) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 177], ["position", 1], ["product_id", 307], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 307) LIMIT 1 Row SIMPLE_002Simple Excel Load via Jrubyless blah100mime_type succesfully SAVED : ID 307 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", Mon, 01 Oct 2012 07:16:09 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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.825486' WHERE "spree_products"."id" = 308 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 308], ["sku", "SPEC_SIMPLE_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.827156' WHERE "spree_products"."id" = 308  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 970 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.829037' WHERE "spree_products"."id" = 308  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 308  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 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.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" = 308 AND "spree_option_types"."id" = 177 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" = 308) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 177], ["position", 1], ["product_id", 308], ["updated_at", Mon, 01 Oct 2012 07:16:09 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", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" = 308 AND "spree_option_types"."id" = 178 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" = 308) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 178], ["position", 2], ["product_id", 308], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" != 308) LIMIT 1 Row SIMPLE_003Simple third row avail in futuremore blah blah50.34mime_type|print_type succesfully SAVED : ID 308 Current value to assign : SPEC_ 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"  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" = 306 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" SQL (2.9ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.9ms) DELETE FROM "spree_option_types" SQL (2.4ms) DELETE FROM "spree_option_values" SQL (2.5ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (3.2ms) DELETE FROM "spree_taxons" SQL (5.0ms) 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.0ms) 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, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]]  (4.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.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 07:16: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, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.941602' WHERE "spree_products"."id" = 309 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 309], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.943470' WHERE "spree_products"."id" = 309  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 971 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.945253' WHERE "spree_products"."id" = 309  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 309  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' 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", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["product_id", nil], ["property_id", 237], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 309, "updated_at" = '2012-10-01 07:16:09.954511' WHERE "spree_product_properties"."id" = 287 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" != 309) 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 07:16:09 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 370 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 07:16: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", 370], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 309 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (309, 646) 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 07:16:09 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 371 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 371], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (309, 647) 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" != 309) 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, 01 Oct 2012 07:16:09 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:09 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" = 309 AND "spree_option_types"."id" = 179 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" = 309) ORDER BY position DESC 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 07:16:09 UTC +00:00], ["option_type_id", 179], ["position", 1], ["product_id", 309], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 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" = 179) ORDER BY position 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 07:16:09 UTC +00:00], ["name", "jpeg"], ["option_type_id", 179], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.989038' WHERE "spree_products"."id" = 309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 309], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.990363' WHERE "spree_products"."id" = 309  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (309, 972) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 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" = 179) ORDER BY position 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 07:16:09 UTC +00:00], ["name", "PDF"], ["option_type_id", 179], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.995304' WHERE "spree_products"."id" = 309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 309], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:09.996507' WHERE "spree_products"."id" = 309  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (973, 310) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 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" = 179) ORDER BY position 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 07:16:09 UTC +00:00], ["name", "PNG"], ["option_type_id", 179], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:09 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.001194' WHERE "spree_products"."id" = 309 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 309], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.002409' WHERE "spree_products"."id" = 309  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (311, 974) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 309]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 309) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 972 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 973 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 974 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" != 309) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.016494' WHERE "spree_products"."id" = 309  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 972 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.018068' WHERE "spree_products"."id" = 309 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.019715' WHERE "spree_products"."id" = 309  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 973 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.020817' WHERE "spree_products"."id" = 309 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.022430' WHERE "spree_products"."id" = 309  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 974 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.023641' WHERE "spree_products"."id" = 309 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 309) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.027242', "count_on_hand" = 25 WHERE "spree_products"."id" = 309 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 309 Current value to assign : DEMO_002 Current value to 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 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.035717' WHERE "spree_products"."id" = 310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 310], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.037004' WHERE "spree_products"."id" = 310  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 975 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.038550' WHERE "spree_products"."id" = 310  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 310  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' 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 07:16:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 238], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 310, "updated_at" = '2012-10-01 07:16:10.045701' WHERE "spree_product_properties"."id" = 288 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" != 310) 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" = 370 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" = 310 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (310, 646) 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 07:16:10 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 372], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (310, 648) 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" = 370 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" = 370 AND "spree_taxons"."parent_id" = 646 AND "spree_taxons"."name" = 'Nature' 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", 646]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 646], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 370], ["updated_at", Mon, 01 Oct 2012 07:16: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", 646]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 649]] 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 = 649 THEN 646 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 646]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 649]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 370 AND "spree_taxons"."parent_id" = 649 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", 649]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 649], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 370], ["updated_at", Mon, 01 Oct 2012 07:16: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", 649]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 650]] 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 = 650 THEN 649 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 649]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 650]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (310, 649)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (310, 650) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 310) 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" = 310 AND "spree_option_types"."id" = 179 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" = 310) ORDER BY position DESC 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 07:16:10 UTC +00:00], ["option_type_id", 179], ["position", 1], ["product_id", 310], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.093198' WHERE "spree_products"."id" = 310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 310], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.094489' WHERE "spree_products"."id" = 310  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (976, 309) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.097410' WHERE "spree_products"."id" = 310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 310], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.098640' WHERE "spree_products"."id" = 310  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (977, 310) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.101511' WHERE "spree_products"."id" = 310 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 310], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.102682' WHERE "spree_products"."id" = 310  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (311, 978) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 310]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 310) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 976 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 977 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 978 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" != 310) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.116961' WHERE "spree_products"."id" = 310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 976 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.118080' WHERE "spree_products"."id" = 310 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.119373' WHERE "spree_products"."id" = 310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 977 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.120312' WHERE "spree_products"."id" = 310 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.121593' WHERE "spree_products"."id" = 310  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 978 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.122552' WHERE "spree_products"."id" = 310 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 310) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.125581', "count_on_hand" = 11 WHERE "spree_products"."id" = 310 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 310 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.133532' WHERE "spree_products"."id" = 311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 311], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.134831' WHERE "spree_products"."id" = 311  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 979 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.136314' WHERE "spree_products"."id" = 311  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 311  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' 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 07:16:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 239], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 311, "updated_at" = '2012-10-01 07:16:10.143365' WHERE "spree_product_properties"."id" = 289 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 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 238], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 311, "updated_at" = '2012-10-01 07:16:10.146022' WHERE "spree_product_properties"."id" = 290 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 07:16:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 240], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 311, "updated_at" = '2012-10-01 07:16:10.149585' WHERE "spree_product_properties"."id" = 291 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 311) 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 07:16:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 373 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 373], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 311 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 651) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 370 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" = 370 AND "spree_taxons"."parent_id" = 646 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", 646]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 646], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 370], ["updated_at", Mon, 01 Oct 2012 07:16: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", 646]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 652]] 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 = 652 THEN 646 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 646]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 652]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 652)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 646) 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" != 311) 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" = 311 AND "spree_option_types"."id" = 179 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" = 311) 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 07:16:10 UTC +00:00], ["option_type_id", 179], ["position", 1], ["product_id", 311], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.326683' WHERE "spree_products"."id" = 311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 311], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.328155' WHERE "spree_products"."id" = 311  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (309, 980) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.331556' WHERE "spree_products"."id" = 311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 311], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.332869' WHERE "spree_products"."id" = 311  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (310, 981) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 179 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.336062' WHERE "spree_products"."id" = 311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 311], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.337335' WHERE "spree_products"."id" = 311  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (311, 982) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 311]] 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 07:16:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:10 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" = 311 AND "spree_option_types"."id" = 180 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" = 311) ORDER BY position DESC 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 07:16:10 UTC +00:00], ["option_type_id", 180], ["position", 2], ["product_id", 311], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 180 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" = 180) ORDER BY position 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 07:16:10 UTC +00:00], ["name", "black_white"], ["option_type_id", 180], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.351560' WHERE "spree_products"."id" = 311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 311], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.353006' WHERE "spree_products"."id" = 311  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (312, 983) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 180 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" = 180) ORDER BY position 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 07:16:10 UTC +00:00], ["name", "colour"], ["option_type_id", 180], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.358879' WHERE "spree_products"."id" = 311 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 311], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.360254' WHERE "spree_products"."id" = 311  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (984, 313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 311]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 311) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 980 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 981 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 982 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 983 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 984 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" != 311) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.381022' WHERE "spree_products"."id" = 311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 980 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.382859' WHERE "spree_products"."id" = 311 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.385176' WHERE "spree_products"."id" = 311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 981 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.386692' WHERE "spree_products"."id" = 311 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.389062' WHERE "spree_products"."id" = 311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 982 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.390348' WHERE "spree_products"."id" = 311 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.391908' WHERE "spree_products"."id" = 311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 983 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.392939' WHERE "spree_products"."id" = 311 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.394426' WHERE "spree_products"."id" = 311  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 984 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.395474' WHERE "spree_products"."id" = 311 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 311) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.398996', "count_on_hand" = 53 WHERE "spree_products"."id" = 311 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 311 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (53.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.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" = 309 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" = 311 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" = 311 SQL (3.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.2ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.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: #  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test PP 001"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]]  (3.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.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 07:16: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 07:16:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.551056' WHERE "spree_products"."id" = 312 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 312], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.552936' WHERE "spree_products"."id" = 312  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 985 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.554907' WHERE "spree_products"."id" = 312  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 312  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' 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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 241], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 312, "updated_at" = '2012-10-01 07:16:10.562546' WHERE "spree_product_properties"."id" = 292 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" != 312) 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 07:16:10 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 374 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 374], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 312 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (312, 653) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 312) 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, 01 Oct 2012 07:16:10 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 375 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 375], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (312, 654) 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" != 312) 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, 01 Oct 2012 07:16:10 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:10 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" = 312 AND "spree_option_types"."id" = 181 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" = 312) ORDER BY position DESC 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 07:16:10 UTC +00:00], ["option_type_id", 181], ["position", 1], ["product_id", 312], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 181 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" = 181) ORDER BY position 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 07:16:10 UTC +00:00], ["name", "jpeg"], ["option_type_id", 181], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.599233' WHERE "spree_products"."id" = 312 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 312], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.600615' WHERE "spree_products"."id" = 312  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (986, 314) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 312]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 312) 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" = 312 AND "spree_option_types"."id" = 181 ORDER 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" = 181 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" = 181) ORDER BY position 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 07:16:10 UTC +00:00], ["name", "PDF"], ["option_type_id", 181], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.610832' WHERE "spree_products"."id" = 312 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 312], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.612104' WHERE "spree_products"."id" = 312  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (987, 315) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 312]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 312) 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" = 312 AND "spree_option_types"."id" = 181 ORDER 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" = 181 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" = 181) ORDER BY position 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 07:16:10 UTC +00:00], ["name", "PNG"], ["option_type_id", 181], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.622181' WHERE "spree_products"."id" = 312 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 312], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.623496' WHERE "spree_products"."id" = 312  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (316, 988) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 312]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 312) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 986 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 987 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 988 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" != 312) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.642196' WHERE "spree_products"."id" = 312  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 986 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.643363' WHERE "spree_products"."id" = 312 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.644784' WHERE "spree_products"."id" = 312  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 987 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.645798' WHERE "spree_products"."id" = 312 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.647175' WHERE "spree_products"."id" = 312  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 988 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.648156' WHERE "spree_products"."id" = 312 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 312) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.651330', "count_on_hand" = 25 WHERE "spree_products"."id" = 312 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 312 Current value to assign : DEMO_002 Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.659466' WHERE "spree_products"."id" = 313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 313], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.660780' WHERE "spree_products"."id" = 313  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 989 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.662284' WHERE "spree_products"."id" = 313  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 313  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' 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 07:16:10 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 242], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 313, "updated_at" = '2012-10-01 07:16:10.669496' WHERE "spree_product_properties"."id" = 293 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" != 313) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 374 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" = 313 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (313, 653) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) 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, 01 Oct 2012 07:16:10 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 376 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 376], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (313, 655) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 374 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" = 374 AND "spree_taxons"."parent_id" = 653 AND "spree_taxons"."name" = 'Nature' 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", 653]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 653], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 8], ["taxonomy_id", 374], ["updated_at", Mon, 01 Oct 2012 07:16: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", 653]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 656]] SQL (0.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 = 656 THEN 653 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 653]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 656]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 374 AND "spree_taxons"."parent_id" = 656 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", 656]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 656], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 10], ["taxonomy_id", 374], ["updated_at", Mon, 01 Oct 2012 07:16: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", 656]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 657]] 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 = 657 THEN 656 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 656]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 657]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (313, 656)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (313, 657) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) 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" = 313 AND "spree_option_types"."id" = 181 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" = 313) ORDER BY position DESC 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 07:16:10 UTC +00:00], ["option_type_id", 181], ["position", 1], ["product_id", 313], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 181 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.708726' WHERE "spree_products"."id" = 313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 313], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.710064' WHERE "spree_products"."id" = 313  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (314, 990) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 313]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) 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" = 313 AND "spree_option_types"."id" = 181 ORDER 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" = 181 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.718826' WHERE "spree_products"."id" = 313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 313], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.720160' WHERE "spree_products"."id" = 313  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (315, 991) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 313]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_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" = 313 AND "spree_option_types"."id" = 181 ORDER 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" = 181 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.881995' WHERE "spree_products"."id" = 313 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 313], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.883508' WHERE "spree_products"."id" = 313  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (992, 316) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 313]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 990 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 991 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 992 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" != 313) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.901281' WHERE "spree_products"."id" = 313  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 990 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.902497' WHERE "spree_products"."id" = 313 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.903984' WHERE "spree_products"."id" = 313  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 991 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.905007' WHERE "spree_products"."id" = 313 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.906482' WHERE "spree_products"."id" = 313  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 992 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.907515' WHERE "spree_products"."id" = 313 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 313) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.910927', "count_on_hand" = 11 WHERE "spree_products"."id" = 313 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 313 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.919763' WHERE "spree_products"."id" = 314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 314], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.921109' WHERE "spree_products"."id" = 314  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 993 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.922735' WHERE "spree_products"."id" = 314  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 314  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' 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 07:16:10 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 243], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 314, "updated_at" = '2012-10-01 07:16:10.930407' WHERE "spree_product_properties"."id" = 294 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 242], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 314, "updated_at" = '2012-10-01 07:16:10.934543' WHERE "spree_product_properties"."id" = 295 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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, 01 Oct 2012 07:16:10 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:10 UTC +00:00], ["product_id", nil], ["property_id", 244], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 314, "updated_at" = '2012-10-01 07:16:10.939450' WHERE "spree_product_properties"."id" = 296 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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 07:16:10 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 377 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 377], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 314 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (658, 314) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 374 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" = 374 AND "spree_taxons"."parent_id" = 653 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", 653]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 653], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 14], ["taxonomy_id", 374], ["updated_at", Mon, 01 Oct 2012 07:16: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", 653]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 659]] 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 = 659 THEN 653 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 653]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 659]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (659, 314)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (653, 314) 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" != 314) 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" = 314 AND "spree_option_types"."id" = 181 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" = 314) ORDER BY position DESC 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 07:16:10 UTC +00:00], ["option_type_id", 181], ["position", 1], ["product_id", 314], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 181 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.969335' WHERE "spree_products"."id" = 314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 314], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.970639' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (994, 314) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 314]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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" = 314 AND "spree_option_types"."id" = 181 ORDER 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" = 181 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.979131' WHERE "spree_products"."id" = 314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 314], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.980502' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (315, 995) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 314]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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" = 314 AND "spree_option_types"."id" = 181 ORDER 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" = 181 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.988708' WHERE "spree_products"."id" = 314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 314], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:10.990047' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (996, 316) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 314]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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, 01 Oct 2012 07:16:10 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:10 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" = 314 AND "spree_option_types"."id" = 182 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" = 314) ORDER BY position DESC 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 07:16:10 UTC +00:00], ["option_type_id", 182], ["position", 2], ["product_id", 314], ["updated_at", Mon, 01 Oct 2012 07:16:10 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 182 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" = 182) ORDER BY position 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 07:16:11 UTC +00:00], ["name", "black_white"], ["option_type_id", 182], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.003804' WHERE "spree_products"."id" = 314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 314], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.005074' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (997, 317) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 314]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) 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.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" = 314 AND "spree_option_types"."id" = 182 ORDER 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" = 182 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" = 182) ORDER BY position 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 07:16:11 UTC +00:00], ["name", "colour"], ["option_type_id", 182], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.015134' WHERE "spree_products"."id" = 314 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 314], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.016370' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (998, 318) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 314]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 994 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 995 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 996 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 997 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 998 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" != 314) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.035284' WHERE "spree_products"."id" = 314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 994 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.037009' WHERE "spree_products"."id" = 314 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.039104' WHERE "spree_products"."id" = 314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 995 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.040697' WHERE "spree_products"."id" = 314 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.042289' WHERE "spree_products"."id" = 314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 996 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.043366' WHERE "spree_products"."id" = 314 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.044755' WHERE "spree_products"."id" = 314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 997 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.045723' WHERE "spree_products"."id" = 314 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.047234' WHERE "spree_products"."id" = 314  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 998 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.048503' WHERE "spree_products"."id" = 314 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 314) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.053403', "count_on_hand" = 53 WHERE "spree_products"."id" = 314 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 314 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (61.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::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" = 312 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" = 314 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" = 314 SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.4ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.4ms) DELETE FROM "spree_taxons" SQL (3.2ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (2.6ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.6ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (4.5ms) DELETE FROM "spree_product_properties" SQL (7.1ms) DELETE FROM "spree_variants" SQL (8.3ms) DELETE FROM "spree_taxons" SQL (3.3ms) 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 PRODUCT # MASTER: # SQL (4.2ms) 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 (4.0ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (5.2ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (7.4ms) DELETE FROM "spree_taxons" SQL (5.7ms) 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.1ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (4.7ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.3ms) DELETE FROM "spree_option_types" SQL (2.9ms) DELETE FROM "spree_option_values" SQL (4.3ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (4.5ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.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: # Booted Spree using version 1.1.3 SQL (4.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 (3.2ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.3ms) DELETE FROM "spree_product_properties" SQL (3.1ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.1ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones" SQL (4.4ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (4.5ms) DELETE FROM "spree_option_values" SQL (3.2ms) DELETE FROM "spree_properties" SQL (3.4ms) DELETE FROM "spree_product_properties" SQL (4.5ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.9ms) DELETE FROM "spree_taxonomies" SQL (4.2ms) DELETE FROM "spree_zones" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.2ms) DELETE FROM "spree_option_types" SQL (3.1ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (5.1ms) DELETE FROM "spree_product_properties" SQL (3.3ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.3ms) DELETE FROM "spree_taxonomies" SQL (2.6ms) 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 (2.9ms) DELETE FROM "spree_option_types" SQL (4.4ms) DELETE FROM "spree_option_values" SQL (3.4ms) DELETE FROM "spree_properties" SQL (3.5ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.8ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.7ms) DELETE FROM "spree_zones" SQL (3.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (4.6ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.8ms) DELETE FROM "spree_taxonomies" SQL (4.2ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (3.2ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.8ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (4.6ms) DELETE FROM "spree_product_properties" SQL (2.4ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (2.7ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction SQL (4.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 (3.4ms) DELETE FROM "spree_option_values" SQL (2.6ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (4.1ms) DELETE FROM "spree_variants" SQL (3.1ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (2.8ms) DELETE FROM "spree_zones"  (0.1ms) begin transaction  (0.0ms) commit transaction Booted Spree using version 1.1.3 SQL (7.1ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.1ms) DELETE FROM "spree_option_types" SQL (2.6ms) DELETE FROM "spree_option_values" SQL (3.3ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (3.9ms) DELETE FROM "spree_variants" SQL (4.1ms) DELETE FROM "spree_taxons" SQL (2.7ms) DELETE FROM "spree_taxonomies" SQL (4.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.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, 01 Oct 2012 07:16:11 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 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 07:16: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", 378], ["updated_at", Mon, 01 Oct 2012 07:16:11 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", Mon, 01 Oct 2012 07:16: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", 378], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]]  (4.4ms) commit transaction  (0.0ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:16:11.908372', "parent_id" = 660 WHERE "spree_taxons"."id" = 661 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 660]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 661]] 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 = 661 THEN 660 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 660]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 661]]  (3.3ms) 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" = 660 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.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 07:16: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, 01 Oct 2012 07:16:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.947545' WHERE "spree_products"."id" = 315 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 315], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.949444' WHERE "spree_products"."id" = 315  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 999 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.951757' WHERE "spree_products"."id" = 315  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 315  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' 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 07:16:11 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:11 UTC +00:00], ["product_id", nil], ["property_id", 245], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 315, "updated_at" = '2012-10-01 07:16:11.960462' WHERE "spree_product_properties"."id" = 297 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" != 315) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 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" = 315 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (315, 660) 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 07:16:11 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 379 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 07:16: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", 379], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (315, 662) 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" != 315) 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", Mon, 01 Oct 2012 07:16:11 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:11 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" = 315 AND "spree_option_types"."id" = 183 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" = 315) ORDER BY position DESC 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 07:16:11 UTC +00:00], ["option_type_id", 183], ["position", 1], ["product_id", 315], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 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" = 183) ORDER BY position 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 07:16:11 UTC +00:00], ["name", "jpeg"], ["option_type_id", 183], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.992709' WHERE "spree_products"."id" = 315 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 315], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.994008' WHERE "spree_products"."id" = 315  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1000, 319) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 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" = 183) ORDER BY position 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 07:16:11 UTC +00:00], ["name", "PDF"], ["option_type_id", 183], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:11 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:11.999077' WHERE "spree_products"."id" = 315 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 315], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.000294' WHERE "spree_products"."id" = 315  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1001, 320) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 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" = 183) ORDER BY position 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 07:16:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 183], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.004884' WHERE "spree_products"."id" = 315 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 315], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.006119' WHERE "spree_products"."id" = 315  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1002, 321) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 315]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 315) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1000 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1001 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1002 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" != 315) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.021220' WHERE "spree_products"."id" = 315  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1000 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.022530' WHERE "spree_products"."id" = 315 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.024102' WHERE "spree_products"."id" = 315  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1001 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.025228' WHERE "spree_products"."id" = 315 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.026790' WHERE "spree_products"."id" = 315  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1002 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.027892' WHERE "spree_products"."id" = 315 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 315) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.031246', "count_on_hand" = 25 WHERE "spree_products"."id" = 315 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 315 Current value to assign : DEMO_002 Current value to 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.3ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:16: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 07:16:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.040102' WHERE "spree_products"."id" = 316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 316], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.041403' WHERE "spree_products"."id" = 316  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1003 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.042896' WHERE "spree_products"."id" = 316  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 316  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 'f' 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 07:16:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16:12 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 07:16:12 UTC +00:00], ["product_id", nil], ["property_id", 246], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 316, "updated_at" = '2012-10-01 07:16:12.057971' WHERE "spree_product_properties"."id" = 298 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" != 316) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 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" = 316 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (660, 316) 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 07:16:12 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 380 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 380], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (663, 316) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 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" = 378 AND "spree_taxons"."parent_id" = 660 AND "spree_taxons"."name" = 'Nature' 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", 660]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 660], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 378], ["updated_at", Mon, 01 Oct 2012 07:16: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", 660]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 664]] 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 = 664 THEN 660 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 660]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 664]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 AND "spree_taxons"."parent_id" = 664 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", 664]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 664], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 378], ["updated_at", Mon, 01 Oct 2012 07:16: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", 664]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 665]] 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 = 665 THEN 664 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 664]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 665]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (664, 316)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (665, 316) 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" != 316) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 316 AND "spree_option_types"."id" = 183 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 316) ORDER BY position DESC 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 07:16:12 UTC +00:00], ["option_type_id", 183], ["position", 1], ["product_id", 316], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.120311' WHERE "spree_products"."id" = 316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 316], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.122610' WHERE "spree_products"."id" = 316  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (319, 1004) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.126826' WHERE "spree_products"."id" = 316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 316], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.128388' WHERE "spree_products"."id" = 316  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (320, 1005) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.132287' WHERE "spree_products"."id" = 316 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 316], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.133885' WHERE "spree_products"."id" = 316  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1006, 321) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 316]] Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 316) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 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" = 316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1004 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1005 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1006 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" != 316) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.156346' WHERE "spree_products"."id" = 316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1004 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.158252' WHERE "spree_products"."id" = 316 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.160540' WHERE "spree_products"."id" = 316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1005 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.162015' WHERE "spree_products"."id" = 316 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.163708' WHERE "spree_products"."id" = 316  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1006 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.164938' WHERE "spree_products"."id" = 316 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 316) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.168753', "count_on_hand" = 11 WHERE "spree_products"."id" = 316 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 316 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:16: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 07:16:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.178732' WHERE "spree_products"."id" = 317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 317], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.180305' WHERE "spree_products"."id" = 317  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1007 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.182204' WHERE "spree_products"."id" = 317  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 317  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' 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 07:16:12 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:12 UTC +00:00], ["product_id", nil], ["property_id", 247], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 317, "updated_at" = '2012-10-01 07:16:12.191787' WHERE "spree_product_properties"."id" = 299 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 07:16:12 UTC +00:00], ["product_id", nil], ["property_id", 246], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 317, "updated_at" = '2012-10-01 07:16:12.195213' WHERE "spree_product_properties"."id" = 300 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 07:16:12 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:12 UTC +00:00], ["product_id", nil], ["property_id", 248], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 317, "updated_at" = '2012-10-01 07:16:12.199924' WHERE "spree_product_properties"."id" = 301 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 317) 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 07:16:12 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 381 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 381], ["updated_at", Mon, 01 Oct 2012 07:16:12 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" = 317 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (317, 666) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 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" = 378 AND "spree_taxons"."parent_id" = 660 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (317, 661)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (317, 660) 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" != 317) 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" = 317 AND "spree_option_types"."id" = 183 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" = 317) ORDER BY position DESC 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 07:16:12 UTC +00:00], ["option_type_id", 183], ["position", 1], ["product_id", 317], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.226622' WHERE "spree_products"."id" = 317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 317], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.228154' WHERE "spree_products"."id" = 317  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (319, 1008) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.231646' WHERE "spree_products"."id" = 317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 317], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.233051' WHERE "spree_products"."id" = 317  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (320, 1009) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 183 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.236519' WHERE "spree_products"."id" = 317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 317], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.237935' WHERE "spree_products"."id" = 317  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (321, 1010) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 317]] 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 07:16:12 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:12 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" = 317 AND "spree_option_types"."id" = 184 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 317) ORDER BY position DESC 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 07:16:12 UTC +00:00], ["option_type_id", 184], ["position", 2], ["product_id", 317], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 184 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" = 184) ORDER BY position 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 07:16:12 UTC +00:00], ["name", "black_white"], ["option_type_id", 184], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.253750' WHERE "spree_products"."id" = 317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 317], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.255263' WHERE "spree_products"."id" = 317  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (322, 1011) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 184 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" = 184) ORDER BY position 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 07:16:12 UTC +00:00], ["name", "colour"], ["option_type_id", 184], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.432261' WHERE "spree_products"."id" = 317 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 317], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.433983' WHERE "spree_products"."id" = 317  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1012, 323) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 317]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 317) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1008 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1009 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1010 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1011 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1012 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" != 317) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.456910' WHERE "spree_products"."id" = 317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1008 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.458753' WHERE "spree_products"."id" = 317 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.461033' WHERE "spree_products"."id" = 317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1009 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.462619' WHERE "spree_products"."id" = 317 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.464861' WHERE "spree_products"."id" = 317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1010 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.466073' WHERE "spree_products"."id" = 317 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.467742' WHERE "spree_products"."id" = 317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1011 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.468920' WHERE "spree_products"."id" = 317 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.470704' WHERE "spree_products"."id" = 317  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1012 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.471896' WHERE "spree_products"."id" = 317 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 317) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.475918', "count_on_hand" = 53 WHERE "spree_products"."id" = 317 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 317 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (53.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" = 315 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" = 315 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" = 316 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" = 316 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" = 378 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" = 660 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 664 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 664 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 665 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.5ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.8ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (4.4ms) DELETE FROM "spree_variants" SQL (3.3ms) DELETE FROM "spree_taxons" SQL (3.0ms) 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.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, 01 Oct 2012 07:16:12 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 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 07:16: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", 382], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]]  (3.9ms) 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", Mon, 01 Oct 2012 07:16: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", 382], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction  (0.3ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:16:12.626775', "parent_id" = 667 WHERE "spree_taxons"."id" = 668 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 667]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 668]] 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 = 668 THEN 667 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 667]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 668]]  (3.7ms) 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" = 667 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", Mon, 01 Oct 2012 07:16: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 07:16:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.671563' WHERE "spree_products"."id" = 318 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 318], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.673386' WHERE "spree_products"."id" = 318  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1013 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.675092' WHERE "spree_products"."id" = 318  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 318  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' 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 07:16:12 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:12 UTC +00:00], ["product_id", nil], ["property_id", 249], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 318, "updated_at" = '2012-10-01 07:16:12.683642' WHERE "spree_product_properties"."id" = 302 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" != 318) 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" = 382 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" = 318 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (667, 318) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 318) 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, 01 Oct 2012 07:16:12 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 383 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", Mon, 01 Oct 2012 07:16: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", 383], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (669, 318) 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" != 318) 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", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:12 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" = 318 AND "spree_option_types"."id" = 185 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 318) 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 07:16:12 UTC +00:00], ["option_type_id", 185], ["position", 1], ["product_id", 318], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 185 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" = 185) ORDER BY position 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 07:16:12 UTC +00:00], ["name", "jpeg"], ["option_type_id", 185], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.732025' WHERE "spree_products"."id" = 318 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 318], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.733549' WHERE "spree_products"."id" = 318  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (324, 1014) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 318]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 318) 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" = 318 AND "spree_option_types"."id" = 185 ORDER 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" = 185 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" = 185) ORDER BY position 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 07:16:12 UTC +00:00], ["name", "PDF"], ["option_type_id", 185], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.745630' WHERE "spree_products"."id" = 318 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 318], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.747157' WHERE "spree_products"."id" = 318  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (325, 1015) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 318]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 318) 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" = 318 AND "spree_option_types"."id" = 185 ORDER 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" = 185 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" = 185) 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 07:16:12 UTC +00:00], ["name", "PNG"], ["option_type_id", 185], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.764155' WHERE "spree_products"."id" = 318 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 318], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.766584' WHERE "spree_products"."id" = 318  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (326, 1016) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 318]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 318) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1014 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1015 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1016 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" != 318) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.784031' WHERE "spree_products"."id" = 318  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1014 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.785221' WHERE "spree_products"."id" = 318 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.786635' WHERE "spree_products"."id" = 318  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1015 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.787614' WHERE "spree_products"."id" = 318 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.788933' WHERE "spree_products"."id" = 318  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1016 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.789959' WHERE "spree_products"."id" = 318 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 318) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.793398', "count_on_hand" = 25 WHERE "spree_products"."id" = 318 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 318 Current value to assign : DEMO_002 Current value to 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, 01 Oct 2012 07:16: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 07:16:12 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.804646' WHERE "spree_products"."id" = 319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 319], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.806399' WHERE "spree_products"."id" = 319  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1017 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.808173' WHERE "spree_products"."id" = 319  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 319  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' 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 07:16:12 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:12 UTC +00:00], ["product_id", nil], ["property_id", 250], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 319, "updated_at" = '2012-10-01 07:16:12.816361' WHERE "spree_product_properties"."id" = 303 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" != 319) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 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" = 319 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (319, 667) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 319) 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, 01 Oct 2012 07:16:12 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 384 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 384], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (319, 670) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 319) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 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" = 382 AND "spree_taxons"."parent_id" = 667 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", 667]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 667], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 382], ["updated_at", Mon, 01 Oct 2012 07:16: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", 667]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 671]] 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 = 671 THEN 667 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 667]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 671]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 AND "spree_taxons"."parent_id" = 671 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", 671]] SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 671], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 382], ["updated_at", Mon, 01 Oct 2012 07:16: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", 671]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 672]] 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 = 672 THEN 671 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 671]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 672]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (319, 671)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (319, 672) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 319) 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" = 319 AND "spree_option_types"."id" = 185 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" = 319) ORDER BY position DESC 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 07:16:12 UTC +00:00], ["option_type_id", 185], ["position", 1], ["product_id", 319], ["updated_at", Mon, 01 Oct 2012 07:16:12 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 185 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.864779' WHERE "spree_products"."id" = 319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 319], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.866213' WHERE "spree_products"."id" = 319  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1018, 324) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 319]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 319) 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" = 319 AND "spree_option_types"."id" = 185 ORDER 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" = 185 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.876664' WHERE "spree_products"."id" = 319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 319], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.878052' WHERE "spree_products"."id" = 319  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (325, 1019) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 319]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 319) 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" = 319 AND "spree_option_types"."id" = 185 ORDER 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" = 185 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.888300' WHERE "spree_products"."id" = 319 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 319], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:12.890081' WHERE "spree_products"."id" = 319  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1020, 326) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 319]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 319) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1018 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1019 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1020 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" != 319) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.089022' WHERE "spree_products"."id" = 319  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1018 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.091950' WHERE "spree_products"."id" = 319 Spree::Product Load (0.3ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.096467' WHERE "spree_products"."id" = 319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1019 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.099067' WHERE "spree_products"."id" = 319 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.102440' WHERE "spree_products"."id" = 319  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1020 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.104790' WHERE "spree_products"."id" = 319 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" != 319) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.112283', "count_on_hand" = 11 WHERE "spree_products"."id" = 319 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 319 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.125971' WHERE "spree_products"."id" = 320 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 320], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.127845' WHERE "spree_products"."id" = 320  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1021 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.130082' WHERE "spree_products"."id" = 320  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 320  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' 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 07:16:13 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 251], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 320, "updated_at" = '2012-10-01 07:16:13.140303' WHERE "spree_product_properties"."id" = 304 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 250], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 320, "updated_at" = '2012-10-01 07:16:13.146135' WHERE "spree_product_properties"."id" = 305 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 252], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", nil]]  (0.2ms) UPDATE "spree_product_properties" SET "product_id" = 320, "updated_at" = '2012-10-01 07:16:13.153249' WHERE "spree_product_properties"."id" = 306 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" != 320) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 385 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 07:16: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", 385], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 320 Product assigned to Taxons : ["Drawings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (320, 673) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 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" = 382 AND "spree_taxons"."parent_id" = 667 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (320, 668)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (320, 667) 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" != 320) 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" = 320 AND "spree_option_types"."id" = 185 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" = 320) ORDER BY position DESC 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 07:16:13 UTC +00:00], ["option_type_id", 185], ["position", 1], ["product_id", 320], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 185 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.186612' WHERE "spree_products"."id" = 320 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 320], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.188457' WHERE "spree_products"."id" = 320  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (324, 1022) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 320]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) 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" = 320 AND "spree_option_types"."id" = 185 ORDER 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" = 185 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.202050' WHERE "spree_products"."id" = 320 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 320], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.204691' WHERE "spree_products"."id" = 320  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1023, 325) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 320]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) LIMIT 1 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 320 AND "spree_option_types"."id" = 185 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" = 185 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 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" = 320 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.226582' WHERE "spree_products"."id" = 320 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 320], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.229895' WHERE "spree_products"."id" = 320  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (326, 1024) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 320]] Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 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" != 320) 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", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:13 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" = 320 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 320) 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 07:16:13 UTC +00:00], ["option_type_id", 186], ["position", 2], ["product_id", 320], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 186 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" = 186) 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 07:16:13 UTC +00:00], ["name", "black_white"], ["option_type_id", 186], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 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" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.269136' WHERE "spree_products"."id" = 320 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 320], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.271853' WHERE "spree_products"."id" = 320  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1025, 327) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 320]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) 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" = 320 AND "spree_option_types"."id" = 186 ORDER 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" = 186 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" = 186) 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 07:16:13 UTC +00:00], ["name", "colour"], ["option_type_id", 186], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 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" = 320 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.292776' WHERE "spree_products"."id" = 320 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 320], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.295122' WHERE "spree_products"."id" = 320  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1026, 328) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 320]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1022 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1023 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1024 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1025 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1026 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" != 320) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.318201' WHERE "spree_products"."id" = 320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1022 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.320926' WHERE "spree_products"."id" = 320 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.323463' WHERE "spree_products"."id" = 320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1023 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.324726' WHERE "spree_products"."id" = 320 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.326208' WHERE "spree_products"."id" = 320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1024 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.327263' WHERE "spree_products"."id" = 320 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.328725' WHERE "spree_products"."id" = 320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1025 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.329777' WHERE "spree_products"."id" = 320 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.332061' WHERE "spree_products"."id" = 320  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1026 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.333589' WHERE "spree_products"."id" = 320 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 320) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.337194', "count_on_hand" = 53 WHERE "spree_products"."id" = 320 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 320 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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 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.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 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" = 318 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" = 319 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" = 319 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 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" = 667 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 671 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 671 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 672 ORDER BY "lft" SQL (2.7ms) DELETE FROM "spree_products" SQL (0.1ms) 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 (4.1ms) DELETE FROM "spree_properties" SQL (4.1ms) DELETE FROM "spree_product_properties" SQL (4.3ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.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.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 386], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:16: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", 386], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (3.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) UPDATE "spree_taxons" SET "updated_at" = '2012-10-01 07:16:13.446638', "parent_id" = 674 WHERE "spree_taxons"."id" = 675 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = ? ORDER BY "spree_taxons"."lft" LIMIT 1 [["id", 674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 675]] 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 = 675 THEN 674 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 675]]  (4.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" = 674 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", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.474579' WHERE "spree_products"."id" = 321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 321], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.476265' WHERE "spree_products"."id" = 321  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1027 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.477919' WHERE "spree_products"."id" = 321  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 321  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' 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 07:16:13 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 253], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 321, "updated_at" = '2012-10-01 07:16:13.487185' WHERE "spree_product_properties"."id" = 307 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" != 321) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 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" = 321 Product assigned to Taxons : ["Paintings"]  (0.2ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (674, 321) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 321) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 387 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 07:16: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", 387], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (676, 321) 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" != 321) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:13 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" = 321 AND "spree_option_types"."id" = 187 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" = 321) 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 07:16:13 UTC +00:00], ["option_type_id", 187], ["position", 1], ["product_id", 321], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 187 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" = 187) 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 07:16:13 UTC +00:00], ["name", "jpeg"], ["option_type_id", 187], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.528821' WHERE "spree_products"."id" = 321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 321], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.530814' WHERE "spree_products"."id" = 321  (0.2ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1028, 329) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 321]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 321) 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" = 321 AND "spree_option_types"."id" = 187 ORDER 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" = 187 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" = 187) ORDER BY position 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 07:16:13 UTC +00:00], ["name", "PDF"], ["option_type_id", 187], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.542714' WHERE "spree_products"."id" = 321 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 321], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.544175' WHERE "spree_products"."id" = 321  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (330, 1029) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 321]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 321) 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" = 321 AND "spree_option_types"."id" = 187 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" = 187 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" = 187) 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 07:16:13 UTC +00:00], ["name", "PNG"], ["option_type_id", 187], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.562096' WHERE "spree_products"."id" = 321 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 321], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.564630' WHERE "spree_products"."id" = 321  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (331, 1030) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 321]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 321) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1028 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1029 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1030 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" != 321) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.583887' WHERE "spree_products"."id" = 321  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1028 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.585112' WHERE "spree_products"."id" = 321 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.586602' WHERE "spree_products"."id" = 321  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1029 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.587739' WHERE "spree_products"."id" = 321 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.590214' WHERE "spree_products"."id" = 321  (0.2ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1030 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.592537' WHERE "spree_products"."id" = 321 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" != 321) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.597664', "count_on_hand" = 25 WHERE "spree_products"."id" = 321 Current value to assign : DEMO_002 Current value to 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, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.763534' WHERE "spree_products"."id" = 322 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 322], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.764967' WHERE "spree_products"."id" = 322  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1031 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.766669' WHERE "spree_products"."id" = 322  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 322  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' 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 07:16:13 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 254], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 322, "updated_at" = '2012-10-01 07:16:13.774644' WHERE "spree_product_properties"."id" = 308 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" != 322) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 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" = 322 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (674, 322) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 322) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 388 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 388], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (677, 322) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 322) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 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" = 386 AND "spree_taxons"."parent_id" = 674 AND "spree_taxons"."name" = 'Nature' 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", 674]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 674], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 386], ["updated_at", Mon, 01 Oct 2012 07:16: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", 674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 678]] 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 = 678 THEN 674 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 674]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 678]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 AND "spree_taxons"."parent_id" = 678 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", 678]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", "Seascape"], ["parent_id", 678], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 386], ["updated_at", Mon, 01 Oct 2012 07:16: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", 678]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 679]] SQL (0.1ms) 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 = 679 THEN 678 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 678]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 679]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (678, 322)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (679, 322) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 322) 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" = 322 AND "spree_option_types"."id" = 187 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" = 322) ORDER BY position DESC 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 07:16:13 UTC +00:00], ["option_type_id", 187], ["position", 1], ["product_id", 322], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 187 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.817213' WHERE "spree_products"."id" = 322 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 322], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.818623' WHERE "spree_products"."id" = 322  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (329, 1032) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 322]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 322) 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" = 322 AND "spree_option_types"."id" = 187 ORDER 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" = 187 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.830160' WHERE "spree_products"."id" = 322 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 322], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.832046' WHERE "spree_products"."id" = 322  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (330, 1033) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 322]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 322) LIMIT 1 Spree::OptionType Load (0.2ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.3ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 322 AND "spree_option_types"."id" = 187 ORDER 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" = 187 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.848409' WHERE "spree_products"."id" = 322 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 322], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.850556' WHERE "spree_products"."id" = 322  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (331, 1034) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 322]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 322) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1032 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1033 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1034 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" != 322) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.874403' WHERE "spree_products"."id" = 322  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1032 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.876287' WHERE "spree_products"."id" = 322 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.878032' WHERE "spree_products"."id" = 322  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1033 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.879239' WHERE "spree_products"."id" = 322 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.880901' WHERE "spree_products"."id" = 322  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1034 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.881910' WHERE "spree_products"."id" = 322 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" != 322) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.885496', "count_on_hand" = 11 WHERE "spree_products"."id" = 322 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.2ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "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 07:16: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 07:16:13 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.893509' WHERE "spree_products"."id" = 323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 323], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.894853' WHERE "spree_products"."id" = 323  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1035 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.896334' WHERE "spree_products"."id" = 323  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 323  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' 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 07:16:13 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 255], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 323, "updated_at" = '2012-10-01 07:16:13.903529' WHERE "spree_product_properties"."id" = 309 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 254], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 323, "updated_at" = '2012-10-01 07:16:13.907383' WHERE "spree_product_properties"."id" = 310 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:13 UTC +00:00], ["product_id", nil], ["property_id", 256], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 323, "updated_at" = '2012-10-01 07:16:13.912040' WHERE "spree_product_properties"."id" = 311 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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 07:16:13 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 389 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 389], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 323 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (323, 680) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 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" = 386 AND "spree_taxons"."parent_id" = 674 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (323, 675)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (323, 674) 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" != 323) 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" = 323 AND "spree_option_types"."id" = 187 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" = 323) ORDER BY position DESC 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 07:16:13 UTC +00:00], ["option_type_id", 187], ["position", 1], ["product_id", 323], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 187 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.933199' WHERE "spree_products"."id" = 323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 323], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.934504' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (329, 1036) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 323]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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" = 323 AND "spree_option_types"."id" = 187 ORDER 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" = 187 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.942818' WHERE "spree_products"."id" = 323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 323], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.944135' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (330, 1037) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 323]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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" = 323 AND "spree_option_types"."id" = 187 ORDER 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" = 187 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.952136' WHERE "spree_products"."id" = 323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 323], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.953413' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (331, 1038) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 323]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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, 01 Oct 2012 07:16:13 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:13 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" = 323 AND "spree_option_types"."id" = 188 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" = 323) ORDER BY position DESC 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 07:16:13 UTC +00:00], ["option_type_id", 188], ["position", 2], ["product_id", 323], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 188 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" = 188) ORDER BY position 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 07:16:13 UTC +00:00], ["name", "black_white"], ["option_type_id", 188], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.967032' WHERE "spree_products"."id" = 323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 323], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.968298' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (332, 1039) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 323]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) 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.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" = 323 AND "spree_option_types"."id" = 188 ORDER 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" = 188 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" = 188) ORDER BY position 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 07:16:13 UTC +00:00], ["name", "colour"], ["option_type_id", 188], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:13 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.978277' WHERE "spree_products"."id" = 323 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 323], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.979528' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (333, 1040) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 323]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 323) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1036 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1037 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1038 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1039 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1040 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" != 323) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:13.998741' WHERE "spree_products"."id" = 323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1036 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.000546' WHERE "spree_products"."id" = 323 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.002708' WHERE "spree_products"."id" = 323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1037 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.004151' WHERE "spree_products"."id" = 323 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.005663' WHERE "spree_products"."id" = 323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1038 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.006709' WHERE "spree_products"."id" = 323 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.008174' WHERE "spree_products"."id" = 323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1039 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.009392' WHERE "spree_products"."id" = 323 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.010858' WHERE "spree_products"."id" = 323  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1040 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.011855' WHERE "spree_products"."id" = 323 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" != 323) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.015513', "count_on_hand" = 53 WHERE "spree_products"."id" = 323  (63.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.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" = 321 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" = 321 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" = 322 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" = 322 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" = 386 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" = 674 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 678 LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 678 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 679 ORDER BY "lft" SQL (3.9ms) DELETE FROM "spree_products" SQL (0.2ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (42.5ms) DELETE FROM "spree_option_types" SQL (8.3ms) DELETE FROM "spree_option_values" SQL (4.5ms) DELETE FROM "spree_properties" SQL (3.9ms) DELETE FROM "spree_product_properties" SQL (2.9ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (9.9ms) DELETE FROM "spree_taxonomies" SQL (8.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.0ms) commit transaction PRODUCT # MASTER: # SQL (11.6ms) DELETE FROM "spree_taxonomies" SQL (3.9ms) DELETE FROM "spree_taxons"  (0.2ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.3ms) 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.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 07:16: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, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.4ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.259722' WHERE "spree_products"."id" = 324 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 324], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.262499' WHERE "spree_products"."id" = 324  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.265257' WHERE "spree_products"."id" = 324  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 324  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 390], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 AND "spree_taxons"."parent_id" = 681 AND "spree_taxons"."name" = 'Landscape' 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", 681]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 681], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 390], ["updated_at", Mon, 01 Oct 2012 07:16: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", 681]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 682]] 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 = 682 THEN 681 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 681]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 682]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 324 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (324, 682)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (324, 681) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 324) 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 391 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 391], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (324, 683) 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" != 324) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1041 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" != 324) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.463634', "count_on_hand" = 2 WHERE "spree_products"."id" = 324  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1041 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.465549' WHERE "spree_products"."id" = 324 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 324 Row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320Paintings>LandscapeWaterColour2 succesfully SAVED : ID 324 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, 01 Oct 2012 07:16:14 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, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.474620' WHERE "spree_products"."id" = 325 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 325], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.476018' WHERE "spree_products"."id" = 325  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1042 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.477609' WHERE "spree_products"."id" = 325  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 325  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 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" = 390 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" = 325 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (325, 681) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 325) 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 392 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 392], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (325, 684) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 325) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 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" = 390 AND "spree_taxons"."parent_id" = 681 AND "spree_taxons"."name" = 'Nature' 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", 681]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 681], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 390], ["updated_at", Mon, 01 Oct 2012 07:16: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", 681]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 685]] 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 = 685 THEN 681 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 681]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 685]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 AND "spree_taxons"."parent_id" = 685 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", 685]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", "Landscape"], ["parent_id", 685], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 390], ["updated_at", Mon, 01 Oct 2012 07:16: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", 685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 686]] 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 = 686 THEN 685 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 686]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (325, 685)  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (325, 686) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 325) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1042 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" != 325) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.514860', "count_on_hand" = 5 WHERE "spree_products"."id" = 325  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1042 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.516821' WHERE "spree_products"."id" = 325 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 325 Row test_ct_002Demo Excel Loadless blah2011-05-1410030PaintingsOilsPaintings>Nature>Landscape5 succesfully SAVED : ID 325 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.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 07:16: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 07:16:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.525633' WHERE "spree_products"."id" = 326 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 326], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.526992' WHERE "spree_products"."id" = 326  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.528548' WHERE "spree_products"."id" = 326  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 326  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 393 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 393], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 393 AND "spree_taxons"."parent_id" = 687 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", 687]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 687], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 393], ["updated_at", Mon, 01 Oct 2012 07:16: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", 687]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 688]] 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 = 688 THEN 687 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 687]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 688]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 326 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (688, 326)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (687, 326) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 326) 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 394 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:14 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", 394], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (689, 326) 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" != 326) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1043 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" != 326) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.560559', "count_on_hand" = 7 WHERE "spree_products"."id" = 326  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1043 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.562641' WHERE "spree_products"."id" = 326 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 326 Row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 succesfully SAVED : ID 326 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.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", Mon, 01 Oct 2012 07:16:14 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, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.570980' WHERE "spree_products"."id" = 327 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 327], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.572284' WHERE "spree_products"."id" = 327  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1044 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.573803' WHERE "spree_products"."id" = 327  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 327  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 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" = 393 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" = 393 AND "spree_taxons"."parent_id" = 687 AND "spree_taxons"."name" = 'Landscape' 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" = 327 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (688, 327)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (687, 327) 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" != 327) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 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" = 390 AND "spree_taxons"."parent_id" = 681 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 AND "spree_taxons"."parent_id" = 685 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", 685]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:14 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", 685], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 390], ["updated_at", Mon, 01 Oct 2012 07:16: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", 685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 690]] SQL (0.2ms) 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 = 690 THEN 685 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 685]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 690]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 AND "spree_taxons"."parent_id" = 690 AND "spree_taxons"."name" = 'Cliffs' 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", 690]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:14 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", 690], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 390], ["updated_at", Mon, 01 Oct 2012 07:16: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", 690]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 691]] 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 = 691 THEN 690 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 690]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 691]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (685, 327)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (690, 327)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (691, 327)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (681, 327) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 327) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1044 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" != 327) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.604661', "count_on_hand" = 3 WHERE "spree_products"."id" = 327  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1044 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.606503' WHERE "spree_products"."id" = 327 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 327 Row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 succesfully SAVED : ID 327 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.0ms) 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, 01 Oct 2012 07:16:14 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, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.614655' WHERE "spree_products"."id" = 328 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 328], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.615969' WHERE "spree_products"."id" = 328  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.617503' WHERE "spree_products"."id" = 328  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 328  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 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" = 393 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" = 393 AND "spree_taxons"."parent_id" = 687 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 393 AND "spree_taxons"."parent_id" = 688 AND "spree_taxons"."name" = 'Bristol' 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", 688]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:14 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", 688], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 393], ["updated_at", Mon, 01 Oct 2012 07:16: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", 688]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 692]] SQL (0.2ms) 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 = 692 THEN 688 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 688]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 692]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 328 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (328, 688)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (328, 692)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (328, 687) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 328) 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" = 392 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 (328, 684) 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" != 328) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1045 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" != 328) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.639803', "count_on_hand" = 3 WHERE "spree_products"."id" = 328  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1045 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.641632' WHERE "spree_products"."id" = 328 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 328 Row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 succesfully SAVED : ID 328 Current value to assign : Current value to assign : Current value to assign : Current value to assign : 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_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" = 390 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" = 391 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" = 392 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" = 393 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" = 394 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.1ms) 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" = 390 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 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" = 681 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 681) 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" = 685 ORDER BY "lft"  (0.1ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 685) 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" != 685) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 681 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 685 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"."parent_id" = 690 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" = 691 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.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 690) 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" = 393 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 393 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 688 ORDER BY "lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 688 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" = 692 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" != 692) 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" = 392 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 392 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" = 684 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" = 394 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 394 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" = 689 ORDER BY "lft" SQL (2.9ms) 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 (3.2ms) DELETE FROM "spree_option_values" SQL (4.1ms) DELETE FROM "spree_properties" SQL (3.3ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (5.6ms) DELETE FROM "spree_taxons" SQL (2.9ms) 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.0ms) begin transaction  (0.0ms) commit transaction PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.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.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.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 07:16: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, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.747248' WHERE "spree_products"."id" = 329 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 329], ["sku", "test_ct_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.748814' WHERE "spree_products"."id" = 329  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1046 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.750356' WHERE "spree_products"."id" = 329  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 329  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 395], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 AND "spree_taxons"."parent_id" = 693 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", 693]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 693], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 395], ["updated_at", Mon, 01 Oct 2012 07:16: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", 693]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 694]] 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 = 694 THEN 693 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 693]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 694]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 329 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (694, 329)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (693, 329) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 329) 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 396 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 396], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (695, 329) 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" != 329) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1046 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" != 329) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.783550', "count_on_hand" = 2 WHERE "spree_products"."id" = 329  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1046 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.785463' WHERE "spree_products"."id" = 329 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 329 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, 01 Oct 2012 07:16:14 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, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.942564' WHERE "spree_products"."id" = 330 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 330], ["sku", "test_ct_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.944140' WHERE "spree_products"."id" = 330  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1047 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.945871' WHERE "spree_products"."id" = 330  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 330  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 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" = 395 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" = 330 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (693, 330) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 330) 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, 01 Oct 2012 07:16:14 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 397 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 397], ["updated_at", Mon, 01 Oct 2012 07:16:14 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (696, 330) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 330) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 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" = 395 AND "spree_taxons"."parent_id" = 693 AND "spree_taxons"."name" = 'Nature' 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", 693]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 693], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 395], ["updated_at", Mon, 01 Oct 2012 07:16: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", 693]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 697]] 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 = 697 THEN 693 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 693]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 697]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 AND "spree_taxons"."parent_id" = 697 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", 697]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", "Landscape"], ["parent_id", 697], ["permalink", "paintings/nature/landscape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 395], ["updated_at", Mon, 01 Oct 2012 07:16: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", 697]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 698]] SQL (0.1ms) 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 = 698 THEN 697 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 697]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 698]] Product assigned to Taxons : ["Nature", "Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (697, 330)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (698, 330) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 330) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1047 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 330) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.984105', "count_on_hand" = 5 WHERE "spree_products"."id" = 330  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1047 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.985974' WHERE "spree_products"."id" = 330 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 330 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.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 07:16: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 07:16:14 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.994506' WHERE "spree_products"."id" = 331 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 331], ["sku", "test_ct_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.995883' WHERE "spree_products"."id" = 331  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1048 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:14.997498' WHERE "spree_products"."id" = 331  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 331  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 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, 01 Oct 2012 07:16:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 398 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 398], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 398 AND "spree_taxons"."parent_id" = 699 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", 699]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 699], ["permalink", "drawings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 398], ["updated_at", Mon, 01 Oct 2012 07:16: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", 699]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 700]] 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 = 700 THEN 699 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 699]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 700]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 331 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (700, 331)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (699, 331) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 331) 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, 01 Oct 2012 07:16:15 UTC +00:00], ["name", "Landscape"], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 399 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 399], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Product assigned to Taxons : ["Landscape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (701, 331) 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" != 331) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1048 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 331) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.029130', "count_on_hand" = 7 WHERE "spree_products"."id" = 331  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1048 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.030949' WHERE "spree_products"."id" = 331 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 331 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.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", Mon, 01 Oct 2012 07:16:15 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, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.038971' WHERE "spree_products"."id" = 332 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 332], ["sku", "test_ct_004"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.040276' WHERE "spree_products"."id" = 332  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1049 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.041763' WHERE "spree_products"."id" = 332  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 332  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 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" = 398 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" = 398 AND "spree_taxons"."parent_id" = 699 AND "spree_taxons"."name" = 'Landscape' 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" = 332 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 700)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 699) 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" != 332) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 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" = 395 AND "spree_taxons"."parent_id" = 693 AND "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 AND "spree_taxons"."parent_id" = 697 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", 697]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:15 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", 697], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 20], ["taxonomy_id", 395], ["updated_at", Mon, 01 Oct 2012 07:16: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", 697]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 702]] SQL (0.2ms) 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 = 702 THEN 697 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 697]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 702]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 AND "spree_taxons"."parent_id" = 702 AND "spree_taxons"."name" = 'Cliffs' 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", 702]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:15 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", 702], ["permalink", "paintings/nature/seascape/cliffs"], ["position", 0], ["rgt", 22], ["taxonomy_id", 395], ["updated_at", Mon, 01 Oct 2012 07:16: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", 702]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 703]] 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 = 703 THEN 702 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 702]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 703]] Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 697)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 702)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 703)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 693) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 332) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1049 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 332) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.073712', "count_on_hand" = 3 WHERE "spree_products"."id" = 332  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1049 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.075452' WHERE "spree_products"."id" = 332 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 332 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, 01 Oct 2012 07:16:15 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, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.083261' WHERE "spree_products"."id" = 333 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 333], ["sku", "test_ct_005"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.084532' WHERE "spree_products"."id" = 333  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1050 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.085985' WHERE "spree_products"."id" = 333  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 333  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 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" = 398 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" = 398 AND "spree_taxons"."parent_id" = 699 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 398 AND "spree_taxons"."parent_id" = 700 AND "spree_taxons"."name" = 'Bristol' 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", 700]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:15 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", 700], ["permalink", "drawings/landscape/bristol"], ["position", 0], ["rgt", 24], ["taxonomy_id", 398], ["updated_at", Mon, 01 Oct 2012 07:16: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", 700]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 704]] SQL (0.2ms) 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 = 704 THEN 700 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 700]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 704]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 333 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (700, 333)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (704, 333)  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (699, 333) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 333) 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" = 397 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 (696, 333) 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" != 333) LIMIT 1 Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1050 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" != 333) LIMIT 1  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.108918', "count_on_hand" = 3 WHERE "spree_products"."id" = 333  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1050 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.110722' WHERE "spree_products"."id" = 333 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 333  (103.6ms) 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" = 395 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" = 396 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" = 397 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" = 398 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" = 399 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" = 395 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 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" = 693 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 693) 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" = 697 ORDER BY "lft"  (0.2ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 697) 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" != 697) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 693 LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 697 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" = 702 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" = 703 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" != 702) 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" = 398 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 398 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 700 ORDER BY "lft" Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 700 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" = 704 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" != 704) 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" = 397 Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 397 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" = 696 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" = 399 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 399 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" = 701 ORDER BY "lft" 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 (48.4ms) DELETE FROM "spree_option_types" SQL (5.7ms) DELETE FROM "spree_option_values" SQL (46.8ms) DELETE FROM "spree_properties" SQL (4.9ms) DELETE FROM "spree_product_properties" SQL (2.6ms) DELETE FROM "spree_variants" SQL (4.2ms) DELETE FROM "spree_taxons" SQL (2.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"  (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, 01 Oct 2012 07:16:15 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 400], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]]  (4.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, 01 Oct 2012 07:16: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", 400], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]]  (4.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.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.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 07:16: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 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.444826' WHERE "spree_products"."id" = 334 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 334], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.446437' WHERE "spree_products"."id" = 334  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1051 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.448489' WHERE "spree_products"."id" = 334  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 334  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' 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 07:16:15 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:15 UTC +00:00], ["product_id", nil], ["property_id", 257], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 334, "updated_at" = '2012-10-01 07:16:15.456661' WHERE "spree_product_properties"."id" = 312 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" != 334) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 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" = 334 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (334, 705) 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 07:16:15 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 401 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 07:16: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", 401], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (334, 707) 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" != 334) 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", Mon, 01 Oct 2012 07:16:15 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:15 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" = 334 AND "spree_option_types"."id" = 189 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" = 334) ORDER BY position DESC 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 07:16:15 UTC +00:00], ["option_type_id", 189], ["position", 1], ["product_id", 334], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 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" = 189) ORDER BY position 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 07:16:15 UTC +00:00], ["name", "jpeg"], ["option_type_id", 189], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.485180' WHERE "spree_products"."id" = 334 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 334], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.486494' WHERE "spree_products"."id" = 334  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (334, 1052) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 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" = 189) ORDER BY position 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 07:16:15 UTC +00:00], ["name", "PDF"], ["option_type_id", 189], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.491504' WHERE "spree_products"."id" = 334 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 334], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.492695' WHERE "spree_products"."id" = 334  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (335, 1053) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 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" = 189) ORDER BY position 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 07:16:15 UTC +00:00], ["name", "PNG"], ["option_type_id", 189], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.497160' WHERE "spree_products"."id" = 334 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 334], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.498441' WHERE "spree_products"."id" = 334  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1054, 336) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 334]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 334) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1052 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1053 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1054 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" != 334) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.669859' WHERE "spree_products"."id" = 334  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1052 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.671112' WHERE "spree_products"."id" = 334 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.672590' WHERE "spree_products"."id" = 334  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1053 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.673678' WHERE "spree_products"."id" = 334 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.675148' WHERE "spree_products"."id" = 334  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1054 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.676196' WHERE "spree_products"."id" = 334 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 334) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.679661', "count_on_hand" = 25 WHERE "spree_products"."id" = 334 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7 succesfully SAVED : ID 334 Current value to assign : DEMO_002 Current value to 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 07:16: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 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.688551' WHERE "spree_products"."id" = 335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 335], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.689925' WHERE "spree_products"."id" = 335  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1055 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.691513' WHERE "spree_products"."id" = 335  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 335  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' 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 07:16:15 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:15 UTC +00:00], ["product_id", nil], ["property_id", 258], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 335, "updated_at" = '2012-10-01 07:16:15.699203' WHERE "spree_product_properties"."id" = 313 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" != 335) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 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" = 335 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (705, 335) 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 07:16:15 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 402 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 402], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (708, 335) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 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" = 400 AND "spree_taxons"."parent_id" = 705 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", 705]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 705], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 400], ["updated_at", Mon, 01 Oct 2012 07:16: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", 705]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 709]] SQL (0.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 = 709 THEN 705 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 709]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 AND "spree_taxons"."parent_id" = 709 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", 709]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 709], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 400], ["updated_at", Mon, 01 Oct 2012 07:16: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", 709]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 710]] 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 = 710 THEN 709 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 709]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 710]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (709, 335)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (710, 335) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 335) 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" = 335 AND "spree_option_types"."id" = 189 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" = 335) ORDER BY position DESC 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 07:16:15 UTC +00:00], ["option_type_id", 189], ["position", 1], ["product_id", 335], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.737631' WHERE "spree_products"."id" = 335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 335], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.739001' WHERE "spree_products"."id" = 335  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1056, 334) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.742124' WHERE "spree_products"."id" = 335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 335], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.743391' WHERE "spree_products"."id" = 335  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1057, 335) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.746390' WHERE "spree_products"."id" = 335 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 335], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.747600' WHERE "spree_products"."id" = 335  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1058, 336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 335]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 335) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1056 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1057 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1058 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" != 335) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.762431' WHERE "spree_products"."id" = 335  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1056 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.763597' WHERE "spree_products"."id" = 335 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.764971' WHERE "spree_products"."id" = 335  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1057 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.765989' WHERE "spree_products"."id" = 335 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.767338' WHERE "spree_products"."id" = 335  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1058 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.768332' WHERE "spree_products"."id" = 335 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 335) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.771465', "count_on_hand" = 11 WHERE "spree_products"."id" = 335 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 335 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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 07:16: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 07:16:15 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.779675' WHERE "spree_products"."id" = 336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 336], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.780953' WHERE "spree_products"."id" = 336  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1059 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.782442' WHERE "spree_products"."id" = 336  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 336  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' 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 07:16:15 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:15 UTC +00:00], ["product_id", nil], ["property_id", 259], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 336, "updated_at" = '2012-10-01 07:16:15.789576' WHERE "spree_product_properties"."id" = 314 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 07:16:15 UTC +00:00], ["product_id", nil], ["property_id", 258], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 336, "updated_at" = '2012-10-01 07:16:15.792212' WHERE "spree_product_properties"."id" = 315 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 07:16:15 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:15 UTC +00:00], ["product_id", nil], ["property_id", 260], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 336, "updated_at" = '2012-10-01 07:16:15.795729' WHERE "spree_product_properties"."id" = 316 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 336) 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 07:16:15 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 403 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 403], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 336 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (336, 711) Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 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" = 400 AND "spree_taxons"."parent_id" = 705 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", 705]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 705], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 400], ["updated_at", Mon, 01 Oct 2012 07:16: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", 705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 712]] 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 = 712 THEN 705 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 705]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 712]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (336, 712)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (336, 705) 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" != 336) 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" = 336 AND "spree_option_types"."id" = 189 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" = 336) ORDER BY position DESC 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 07:16:15 UTC +00:00], ["option_type_id", 189], ["position", 1], ["product_id", 336], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.822376' WHERE "spree_products"."id" = 336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 336], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.823694' WHERE "spree_products"."id" = 336  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1060, 334) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 AND "spree_option_values"."name" = 'PDF' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.826786' WHERE "spree_products"."id" = 336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 336], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.828046' WHERE "spree_products"."id" = 336  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1061, 335) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 189 AND "spree_option_values"."name" = 'PNG' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.830963' WHERE "spree_products"."id" = 336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 336], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.832137' WHERE "spree_products"."id" = 336  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1062, 336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 336]] 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 07:16:15 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:15 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" = 336 AND "spree_option_types"."id" = 190 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" = 336) ORDER BY position DESC 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 07:16:15 UTC +00:00], ["option_type_id", 190], ["position", 2], ["product_id", 336], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 190 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" = 190) ORDER BY position 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 07:16:15 UTC +00:00], ["name", "black_white"], ["option_type_id", 190], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.844721' WHERE "spree_products"."id" = 336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 336], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.845999' WHERE "spree_products"."id" = 336  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1063, 337) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 190 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" = 190) ORDER BY position 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 07:16:15 UTC +00:00], ["name", "colour"], ["option_type_id", 190], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:15 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.851094' WHERE "spree_products"."id" = 336 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 336], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.852289' WHERE "spree_products"."id" = 336  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1064, 338) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 336]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 336) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1060 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1061 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1062 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1063 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1064 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" != 336) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.868221' WHERE "spree_products"."id" = 336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1060 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.869409' WHERE "spree_products"."id" = 336 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.871890' WHERE "spree_products"."id" = 336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1061 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.873270' WHERE "spree_products"."id" = 336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.874839' WHERE "spree_products"."id" = 336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1062 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.875950' WHERE "spree_products"."id" = 336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.877584' WHERE "spree_products"."id" = 336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1063 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.879008' WHERE "spree_products"."id" = 336 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.881688' WHERE "spree_products"."id" = 336  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1064 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.883867' WHERE "spree_products"."id" = 336 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 336) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:15.889485', "count_on_hand" = 53 WHERE "spree_products"."id" = 336 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 336 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (164.7ms) 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.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 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" = 334 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" = 1052 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" = 1053 Spree::OptionType Load (0.3ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 189 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" = 1054 Spree::Variant Load (0.3ms) 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 (3.2ms) DELETE FROM "spree_option_types" SQL (3.3ms) DELETE FROM "spree_option_values" SQL (4.6ms) DELETE FROM "spree_properties" SQL (4.2ms) DELETE FROM "spree_product_properties" SQL (4.7ms) DELETE FROM "spree_variants" SQL (3.9ms) DELETE FROM "spree_taxons" SQL (2.6ms) DELETE FROM "spree_taxonomies" SQL (3.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: #  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 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 07:16: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", 404], ["updated_at", Mon, 01 Oct 2012 07:16:16 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", Mon, 01 Oct 2012 07:16: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", 404], ["updated_at", Mon, 01 Oct 2012 07:16:16 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" 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, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.3ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.197121' WHERE "spree_products"."id" = 337 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 337], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.198863' WHERE "spree_products"."id" = 337  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1065 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.200542' WHERE "spree_products"."id" = 337  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 337  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' 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 07:16:16 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:16 UTC +00:00], ["product_id", nil], ["property_id", 261], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 337, "updated_at" = '2012-10-01 07:16:16.377466' WHERE "spree_product_properties"."id" = 317 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" != 337) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 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" = 337 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 713) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 337) 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, 01 Oct 2012 07:16:16 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 405 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 405], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.1ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 715) 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" != 337) 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", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 337 AND "spree_option_types"."id" = 191 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 337) 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 07:16:16 UTC +00:00], ["option_type_id", 191], ["position", 1], ["product_id", 337], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 191 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" = 191) ORDER BY position 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 07:16:16 UTC +00:00], ["name", "jpeg"], ["option_type_id", 191], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.413261' WHERE "spree_products"."id" = 337 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 337], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.414771' WHERE "spree_products"."id" = 337  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1066, 339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 337]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 337) 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" = 337 AND "spree_option_types"."id" = 191 ORDER 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" = 191 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" = 191) ORDER BY position 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 07:16:16 UTC +00:00], ["name", "PDF"], ["option_type_id", 191], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.427221' WHERE "spree_products"."id" = 337 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 337], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.428716' WHERE "spree_products"."id" = 337  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (340, 1067) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 337]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 337) 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" = 337 AND "spree_option_types"."id" = 191 ORDER 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" = 191 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" = 191) ORDER BY position 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 07:16:16 UTC +00:00], ["name", "PNG"], ["option_type_id", 191], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.443086' WHERE "spree_products"."id" = 337 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 337], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.444735' WHERE "spree_products"."id" = 337  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (341, 1068) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 337]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 337) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1066 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1067 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1068 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" != 337) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.466464' WHERE "spree_products"."id" = 337  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1066 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.467782' WHERE "spree_products"."id" = 337 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.469401' WHERE "spree_products"."id" = 337  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1067 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.470521' WHERE "spree_products"."id" = 337 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.472127' WHERE "spree_products"."id" = 337  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1068 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.473279' WHERE "spree_products"."id" = 337 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 337) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.478241', "count_on_hand" = 25 WHERE "spree_products"."id" = 337 Row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 succesfully SAVED : ID 337 Current value to assign : DEMO_002 Current value to 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 07:16: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, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.488750' WHERE "spree_products"."id" = 338 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 338], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.490225' WHERE "spree_products"."id" = 338  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1069 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.491901' WHERE "spree_products"."id" = 338  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 338  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' 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 07:16:16 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:16 UTC +00:00], ["product_id", nil], ["property_id", 262], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 338, "updated_at" = '2012-10-01 07:16:16.500385' WHERE "spree_product_properties"."id" = 318 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" != 338) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 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" = 338 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (713, 338) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 338) 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, 01 Oct 2012 07:16:16 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 406 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 07:16: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", 406], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (716, 338) 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" != 338) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 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" = 404 AND "spree_taxons"."parent_id" = 713 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", 713]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 713], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 404], ["updated_at", Mon, 01 Oct 2012 07:16: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", 713]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 717]] 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 = 717 THEN 713 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 713]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 717]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 AND "spree_taxons"."parent_id" = 717 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", 717]] SQL (0.4ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 717], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 404], ["updated_at", Mon, 01 Oct 2012 07:16: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", 717]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 718]] 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 = 718 THEN 717 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 717]] Spree::Taxon Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 718]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (717, 338)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (718, 338) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 338) 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" = 338 AND "spree_option_types"."id" = 191 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.4ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 338) 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 07:16:16 UTC +00:00], ["option_type_id", 191], ["position", 1], ["product_id", 338], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::OptionValue Load (0.2ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 191 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.560688' WHERE "spree_products"."id" = 338 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 338], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.562954' WHERE "spree_products"."id" = 338  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (339, 1070) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 338]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 338) 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" = 338 AND "spree_option_types"."id" = 191 ORDER 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" = 191 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.573696' WHERE "spree_products"."id" = 338 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 338], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.575245' WHERE "spree_products"."id" = 338  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1071, 340) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 338]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 338) 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" = 338 AND "spree_option_types"."id" = 191 ORDER 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" = 191 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.586411' WHERE "spree_products"."id" = 338 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 338], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.588471' WHERE "spree_products"."id" = 338  (0.2ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (341, 1072) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 338]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 338) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1070 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1071 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1072 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" != 338) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.612081' WHERE "spree_products"."id" = 338  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1070 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.614217' WHERE "spree_products"."id" = 338 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.616508' WHERE "spree_products"."id" = 338  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1071 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.618458' WHERE "spree_products"."id" = 338 Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.620735' WHERE "spree_products"."id" = 338  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1072 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.622814' WHERE "spree_products"."id" = 338 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" != 338) LIMIT 1  (0.2ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.628033', "count_on_hand" = 11 WHERE "spree_products"."id" = 338 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 338 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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.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 07:16: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 07:16:16 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.641262' WHERE "spree_products"."id" = 339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 339], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.642698' WHERE "spree_products"."id" = 339  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1073 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.644319' WHERE "spree_products"."id" = 339  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 339  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' 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 07:16:16 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:16 UTC +00:00], ["product_id", nil], ["property_id", 263], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 339, "updated_at" = '2012-10-01 07:16:16.651573' WHERE "spree_product_properties"."id" = 319 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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, 01 Oct 2012 07:16:16 UTC +00:00], ["product_id", nil], ["property_id", 262], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 339, "updated_at" = '2012-10-01 07:16:16.655911' WHERE "spree_product_properties"."id" = 320 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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, 01 Oct 2012 07:16:16 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16: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 07:16:16 UTC +00:00], ["product_id", nil], ["property_id", 264], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 339, "updated_at" = '2012-10-01 07:16:16.660699' WHERE "spree_product_properties"."id" = 321 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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 07:16:16 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 407 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 407], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 339 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (719, 339) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 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" = 404 AND "spree_taxons"."parent_id" = 713 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", 713]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 713], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 404], ["updated_at", Mon, 01 Oct 2012 07:16: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", 713]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 720]] 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 = 720 THEN 713 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 713]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 720]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (720, 339)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (713, 339) 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" != 339) 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" = 339 AND "spree_option_types"."id" = 191 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" = 339) ORDER BY position DESC 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 07:16:16 UTC +00:00], ["option_type_id", 191], ["position", 1], ["product_id", 339], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 191 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.688778' WHERE "spree_products"."id" = 339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 339], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.690138' WHERE "spree_products"."id" = 339  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1074, 339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 339]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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" = 339 AND "spree_option_types"."id" = 191 ORDER 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" = 191 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.698413' WHERE "spree_products"."id" = 339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 339], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.699703' WHERE "spree_products"."id" = 339  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (340, 1075) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 339]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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" = 339 AND "spree_option_types"."id" = 191 ORDER 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" = 191 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.709110' WHERE "spree_products"."id" = 339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 339], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.711292' WHERE "spree_products"."id" = 339  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (341, 1076) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 339]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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, 01 Oct 2012 07:16:16 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:16 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" = 339 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.3ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 339) 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 07:16:16 UTC +00:00], ["option_type_id", 192], ["position", 2], ["product_id", 339], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 192 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" = 192) ORDER BY position 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 07:16:16 UTC +00:00], ["name", "black_white"], ["option_type_id", 192], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.730807' WHERE "spree_products"."id" = 339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 339], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.732334' WHERE "spree_products"."id" = 339  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1077, 342) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 339]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) 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" = 339 AND "spree_option_types"."id" = 192 ORDER 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" = 192 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" = 192) ORDER BY position 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 07:16:16 UTC +00:00], ["name", "colour"], ["option_type_id", 192], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:16 UTC +00:00]]  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.910156' WHERE "spree_products"."id" = 339 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 339], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.912182' WHERE "spree_products"."id" = 339  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1078, 343) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 339]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1074 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1075 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1076 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1077 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1078 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" != 339) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.934317' WHERE "spree_products"."id" = 339  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1074 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.935576' WHERE "spree_products"."id" = 339 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.937093' WHERE "spree_products"."id" = 339  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1075 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.938205' WHERE "spree_products"."id" = 339 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.939716' WHERE "spree_products"."id" = 339  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1076 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.940808' WHERE "spree_products"."id" = 339 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.942288' WHERE "spree_products"."id" = 339  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1077 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.943336' WHERE "spree_products"."id" = 339 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.944787' WHERE "spree_products"."id" = 339  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1078 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.945835' WHERE "spree_products"."id" = 339 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 339) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:16.949343', "count_on_hand" = 53 WHERE "spree_products"."id" = 339 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 339 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (17.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::Variant Load (0.4ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 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" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 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" = 337 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.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" = 1066 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" = 1067 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 191 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" = 1068 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 (108.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 (2.8ms) DELETE FROM "spree_option_values" SQL (100.0ms) DELETE FROM "spree_properties" SQL (84.4ms) DELETE FROM "spree_product_properties" SQL (97.4ms) DELETE FROM "spree_variants" SQL (59.4ms) DELETE FROM "spree_taxons" SQL (114.4ms) DELETE FROM "spree_taxonomies" SQL (5.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.0ms) begin transaction SQL (0.4ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 408], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]]  (5.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, 01 Oct 2012 07:16: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", 408], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]]  (3.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.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.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 07:16: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, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.631216' WHERE "spree_products"."id" = 340 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 340], ["sku", "DEMO_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.632763' WHERE "spree_products"."id" = 340  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1079 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.634307' WHERE "spree_products"."id" = 340  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 340  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' 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 07:16:17 UTC +00:00], ["name", "test_pp_001"], ["presentation", "Test pp 001"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:17 UTC +00:00], ["product_id", nil], ["property_id", 265], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 340, "updated_at" = '2012-10-01 07:16:17.641925' WHERE "spree_product_properties"."id" = 322 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" != 340) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 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" = 340 Product assigned to Taxons : ["Paintings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (721, 340) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 340) 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, 01 Oct 2012 07:16:17 UTC +00:00], ["name", "WaterColour"], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 409 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", "WaterColour"], ["parent_id", nil], ["permalink", "watercolour"], ["position", 0], ["rgt", 6], ["taxonomy_id", 409], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (723, 340) 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" != 340) 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", Mon, 01 Oct 2012 07:16:17 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:17 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" = 340 AND "spree_option_types"."id" = 193 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" = 340) ORDER BY position DESC 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 07:16:17 UTC +00:00], ["option_type_id", 193], ["position", 1], ["product_id", 340], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 193 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" = 193) ORDER BY position 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 07:16:17 UTC +00:00], ["name", "jpeg"], ["option_type_id", 193], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.670665' WHERE "spree_products"."id" = 340 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 340], ["sku", "DEMO_001_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.672034' WHERE "spree_products"."id" = 340  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1080, 344) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 340]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 340) 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" = 340 AND "spree_option_types"."id" = 193 ORDER 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" = 193 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" = 193) ORDER BY position 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 07:16:17 UTC +00:00], ["name", "PDF"], ["option_type_id", 193], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.682766' WHERE "spree_products"."id" = 340 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 340], ["sku", "DEMO_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.684071' WHERE "spree_products"."id" = 340  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1081, 345) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 340]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 340) 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" = 340 AND "spree_option_types"."id" = 193 ORDER 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" = 193 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" = 193) ORDER BY position 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 07:16:17 UTC +00:00], ["name", "PNG"], ["option_type_id", 193], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.694408' WHERE "spree_products"."id" = 340 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 340], ["sku", "DEMO_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.695661' WHERE "spree_products"."id" = 340  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1082, 346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 340]] Current value to assign : Current value to assign : Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 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" != 340) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1080 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1081 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1082 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" != 340) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.717102' WHERE "spree_products"."id" = 340  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1080 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.718391' WHERE "spree_products"."id" = 340 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.719806' WHERE "spree_products"."id" = 340  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1081 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.720775' WHERE "spree_products"."id" = 340 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.722160' WHERE "spree_products"."id" = 340  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1082 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.723211' WHERE "spree_products"."id" = 340 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" != 340) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.726801', "count_on_hand" = 25 WHERE "spree_products"."id" = 340 Current value to assign : DEMO_002 Current value to 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", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.734626' WHERE "spree_products"."id" = 341 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 341], ["sku", "DEMO_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.735888' WHERE "spree_products"."id" = 341  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1083 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.737469' WHERE "spree_products"."id" = 341  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 341  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' 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 07:16:17 UTC +00:00], ["name", "test_pp_003"], ["presentation", "Test pp 003"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:17 UTC +00:00], ["product_id", nil], ["property_id", 266], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 341, "updated_at" = '2012-10-01 07:16:17.744496' WHERE "spree_product_properties"."id" = 323 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" != 341) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 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" = 341 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (721, 341) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 341) 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, 01 Oct 2012 07:16:17 UTC +00:00], ["name", "Oils"], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 410 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 410], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Product assigned to Taxons : ["Oils"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (724, 341) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 341) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 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" = 408 AND "spree_taxons"."parent_id" = 721 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", 721]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 721], ["permalink", "paintings/nature"], ["position", 0], ["rgt", 10], ["taxonomy_id", 408], ["updated_at", Mon, 01 Oct 2012 07:16: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", 721]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 725]] 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 = 725 THEN 721 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 721]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 725]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 AND "spree_taxons"."parent_id" = 725 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", 725]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 725], ["permalink", "paintings/nature/seascape"], ["position", 0], ["rgt", 12], ["taxonomy_id", 408], ["updated_at", Mon, 01 Oct 2012 07:16: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", 725]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 726]] 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 = 726 THEN 725 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 725]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 726]] Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (725, 341)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (726, 341) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 341) 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" = 341 AND "spree_option_types"."id" = 193 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" = 341) ORDER BY position DESC 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 07:16:17 UTC +00:00], ["option_type_id", 193], ["position", 1], ["product_id", 341], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 193 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.784075' WHERE "spree_products"."id" = 341 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 341], ["sku", "DEMO_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.785405' WHERE "spree_products"."id" = 341  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1084, 344) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 341]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 341) 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" = 341 AND "spree_option_types"."id" = 193 ORDER 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" = 193 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.793813' WHERE "spree_products"."id" = 341 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 341], ["sku", "DEMO_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.795114' WHERE "spree_products"."id" = 341  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (345, 1085) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 341]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 341) 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" = 341 AND "spree_option_types"."id" = 193 ORDER 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" = 193 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.803386' WHERE "spree_products"."id" = 341 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 341], ["sku", "DEMO_002_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.804673' WHERE "spree_products"."id" = 341  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (346, 1086) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 341]] Current value to assign : Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 341) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1084 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1085 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1086 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" != 341) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.819939' WHERE "spree_products"."id" = 341  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1084 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.821068' WHERE "spree_products"."id" = 341 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.822406' WHERE "spree_products"."id" = 341  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1085 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.823395' WHERE "spree_products"."id" = 341 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.824776' WHERE "spree_products"."id" = 341  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1086 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.825740' WHERE "spree_products"."id" = 341 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" != 341) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.828949', "count_on_hand" = 11 WHERE "spree_products"."id" = 341 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to 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", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:17 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.988661' WHERE "spree_products"."id" = 342 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 342], ["sku", "DEMO_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.990125' WHERE "spree_products"."id" = 342  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1087 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:17.991778' WHERE "spree_products"."id" = 342  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 342  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' 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 07:16:17 UTC +00:00], ["name", "test_pp_002"], ["presentation", "Test pp 002"], ["updated_at", Mon, 01 Oct 2012 07:16: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, 01 Oct 2012 07:16:17 UTC +00:00], ["product_id", nil], ["property_id", 267], ["updated_at", Mon, 01 Oct 2012 07:16:17 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 342, "updated_at" = '2012-10-01 07:16:17.999780' WHERE "spree_product_properties"."id" = 324 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) 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, 01 Oct 2012 07:16:18 UTC +00:00], ["product_id", nil], ["property_id", 266], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["value", "Example free value"]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 342, "updated_at" = '2012-10-01 07:16:18.004222' WHERE "spree_product_properties"."id" = 325 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) 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, 01 Oct 2012 07:16:18 UTC +00:00], ["name", "yet_another_property"], ["presentation", "Yet another property"], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00: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 07:16:18 UTC +00:00], ["product_id", nil], ["property_id", 268], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["value", nil]]  (0.1ms) UPDATE "spree_product_properties" SET "product_id" = 342, "updated_at" = '2012-10-01 07:16:18.009394' WHERE "spree_product_properties"."id" = 326 Created New ProductProperty # Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) 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 07:16:18 UTC +00:00], ["name", "Drawings"], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 411 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", "Drawings"], ["parent_id", nil], ["permalink", "drawings"], ["position", 0], ["rgt", 14], ["taxonomy_id", 411], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 342 Product assigned to Taxons : ["Drawings"]  (0.1ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (727, 342) Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) LIMIT 1 Spree::Taxonomy Load (0.1ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.1ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 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" = 408 AND "spree_taxons"."parent_id" = 721 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", 721]] SQL (0.2ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16:18 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", 721], ["permalink", "paintings/landscape"], ["position", 0], ["rgt", 16], ["taxonomy_id", 408], ["updated_at", Mon, 01 Oct 2012 07:16: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", 721]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 728]] 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 = 728 THEN 721 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 721]] Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = ? LIMIT 1 [["id", 728]] Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (728, 342)  (0.0ms) INSERT INTO "spree_products_taxons" ("taxon_id", "product_id") VALUES (721, 342) 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" != 342) 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" = 342 AND "spree_option_types"."id" = 193 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" = 342) 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 07:16:18 UTC +00:00], ["option_type_id", 193], ["position", 1], ["product_id", 342], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 193 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.040462' WHERE "spree_products"."id" = 342 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 342], ["sku", "DEMO_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.041883' WHERE "spree_products"."id" = 342  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1088, 344) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 342]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) 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" = 342 AND "spree_option_types"."id" = 193 ORDER 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" = 193 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.051015' WHERE "spree_products"."id" = 342 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 342], ["sku", "DEMO_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.052642' WHERE "spree_products"."id" = 342  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1089, 345) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 342]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) 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" = 342 AND "spree_option_types"."id" = 193 ORDER 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" = 193 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.2ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.067837' WHERE "spree_products"."id" = 342 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 342], ["sku", "DEMO_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.069685' WHERE "spree_products"."id" = 342  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (346, 1090) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 342]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 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" != 342) 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.3ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16: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" = 342 AND "spree_option_types"."id" = 194 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" = 342) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 194], ["position", 2], ["product_id", 342], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 194 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" = 194) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "black_white"], ["option_type_id", 194], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.092390' WHERE "spree_products"."id" = 342 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 342], ["sku", "DEMO_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.094641' WHERE "spree_products"."id" = 342  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1091, 347) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 342]] Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 342) 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" = 342 AND "spree_option_types"."id" = 194 ORDER 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" = 194 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" = 194) 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 07:16:18 UTC +00:00], ["name", "colour"], ["option_type_id", 194], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.109873' WHERE "spree_products"."id" = 342 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 342], ["sku", "DEMO_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.111306' WHERE "spree_products"."id" = 342  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1092, 348) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 342]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 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" != 342) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1088 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1089 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1090 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1091 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1092 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" != 342) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.130552' WHERE "spree_products"."id" = 342  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1088 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.131801' WHERE "spree_products"."id" = 342 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.133165' WHERE "spree_products"."id" = 342  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1089 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.134187' WHERE "spree_products"."id" = 342 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.135617' WHERE "spree_products"."id" = 342  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1090 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.136607' WHERE "spree_products"."id" = 342 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.137956' WHERE "spree_products"."id" = 342  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1091 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.138915' WHERE "spree_products"."id" = 342 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.140330' WHERE "spree_products"."id" = 342  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1092 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.141304' WHERE "spree_products"."id" = 342 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" != 342) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.144788', "count_on_hand" = 53 WHERE "spree_products"."id" = 342  (91.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" = 340 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" = 340 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.2ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 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" = 340 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.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" = 1080 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" = 1081 Spree::OptionType Load (0.1ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 193 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" = 1082 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.6ms) DELETE FROM "spree_products" SQL (0.1ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.8ms) DELETE FROM "spree_option_types" SQL (2.5ms) DELETE FROM "spree_option_values" SQL (2.9ms) DELETE FROM "spree_properties" SQL (3.7ms) DELETE FROM "spree_product_properties" SQL (2.7ms) DELETE FROM "spree_variants" SQL (5.3ms) DELETE FROM "spree_taxons" SQL (3.2ms) DELETE FROM "spree_taxonomies" SQL (4.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", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["name", "Paintings"], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::Taxon Load (0.2ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 412 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.1ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.3ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "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 07:16: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", 412], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]]  (4.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", Mon, 01 Oct 2012 07:16: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", "Landscape"], ["parent_id", nil], ["permalink", "landscape"], ["position", 0], ["rgt", 4], ["taxonomy_id", 412], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]]  (4.3ms) 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.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", Mon, 01 Oct 2012 07:16: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 07:16:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.330693' WHERE "spree_products"."id" = 343 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 343], ["sku", "MV_001"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.332262' WHERE "spree_products"."id" = 343  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1093 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.333774' WHERE "spree_products"."id" = 343  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 343  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 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", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["name", "mime_type"], ["position", 0], ["presentation", "Mime type"], ["updated_at", Mon, 01 Oct 2012 07:16:18 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" = 343 AND "spree_option_types"."id" = 195 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" = 343) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 195], ["position", 1], ["product_id", 343], ["updated_at", Mon, 01 Oct 2012 07:16:18 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", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["name", "print_type"], ["position", 0], ["presentation", "Print type"], ["updated_at", Mon, 01 Oct 2012 07:16:18 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" = 343 AND "spree_option_types"."id" = 196 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" = 343) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 196], ["position", 2], ["product_id", 343], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 195 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" = 195) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "jpeg"], ["option_type_id", 195], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 196 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" = 196) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "colour"], ["option_type_id", 196], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.355701' WHERE "spree_products"."id" = 343 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 343], ["sku", "MV_001_1"], ["weight", nil], ["width", nil]] SQL (0.2ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.357298' WHERE "spree_products"."id" = 343  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1094, 349)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1094, 350) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 195 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" = 195) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "PDF"], ["option_type_id", 195], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 196 AND "spree_option_values"."name" = 'colour' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.364930' WHERE "spree_products"."id" = 343 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 343], ["sku", "MV_001_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.366411' WHERE "spree_products"."id" = 343  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1095, 351)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1095, 350) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 343]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 343) 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" = 343 AND "spree_option_types"."id" = 195 ORDER 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" = 195 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" = 195) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "PNG"], ["option_type_id", 195], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.378606' WHERE "spree_products"."id" = 343 SQL (0.2ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 343], ["sku", "MV_001_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.380442' WHERE "spree_products"."id" = 343  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (352, 1096) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 343]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 343) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1094 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1095 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1096 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" != 343) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.394250' WHERE "spree_products"."id" = 343  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1094 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.395419' WHERE "spree_products"."id" = 343 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.396760' WHERE "spree_products"."id" = 343  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1095 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.397736' WHERE "spree_products"."id" = 343 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.399066' WHERE "spree_products"."id" = 343  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1096 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.400037' WHERE "spree_products"."id" = 343 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" != 343) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.403347', "count_on_hand" = 25 WHERE "spree_products"."id" = 343 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", Mon, 01 Oct 2012 07:16: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 07:16:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 344 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.411159' WHERE "spree_products"."id" = 344 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 344], ["sku", "MV_002"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.412417' WHERE "spree_products"."id" = 344  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1097 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.413858' WHERE "spree_products"."id" = 344  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 344  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 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.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" = 344 AND "spree_option_types"."id" = 195 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" = 344) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 195], ["position", 1], ["product_id", 344], ["updated_at", Mon, 01 Oct 2012 07:16:18 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.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" = 344 AND "spree_option_types"."id" = 196 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" = 344) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 196], ["position", 2], ["product_id", 344], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 196 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" = 196) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "black_white"], ["option_type_id", 196], ["position", 2], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 195 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 344 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.430405' WHERE "spree_products"."id" = 344 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 344], ["sku", "MV_002_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.431676' WHERE "spree_products"."id" = 344  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1098, 353)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1098, 349) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 344]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 344) 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" = 344 AND "spree_option_types"."id" = 195 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.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" = 344 AND "spree_option_types"."id" = 196 ORDER 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" = 196 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" = 195 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 344 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.443857' WHERE "spree_products"."id" = 344 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 344], ["sku", "MV_002_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.445219' WHERE "spree_products"."id" = 344  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1099, 353)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1099, 352) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 344]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 344) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.2ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1098 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.1ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1099 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" != 344) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 344 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.613985' WHERE "spree_products"."id" = 344  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1098 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.615312' WHERE "spree_products"."id" = 344 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 344 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.616886' WHERE "spree_products"."id" = 344  (0.1ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1099 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.617994' WHERE "spree_products"."id" = 344 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" != 344) LIMIT 1  (0.1ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.621871', "count_on_hand" = 9 WHERE "spree_products"."id" = 344 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.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 07:16: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 07:16:18 UTC +00:00]] Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.630844' WHERE "spree_products"."id" = 345 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", #], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 345], ["sku", "MV_003"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.632267' WHERE "spree_products"."id" = 345  (0.1ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1100 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.633896' WHERE "spree_products"."id" = 345  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 345  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 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.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" = 345 AND "spree_option_types"."id" = 195 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" = 345) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 195], ["position", 1], ["product_id", 345], ["updated_at", Mon, 01 Oct 2012 07:16:18 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.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" = 345 AND "spree_option_types"."id" = 196 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" = 345) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 196], ["position", 2], ["product_id", 345], ["updated_at", Mon, 01 Oct 2012 07:16:18 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.1ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00], ["name", "size"], ["position", 0], ["presentation", "Size"], ["updated_at", Mon, 01 Oct 2012 07:16:18 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" = 345 AND "spree_option_types"."id" = 197 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" = 345) ORDER BY position DESC 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 07:16:18 UTC +00:00], ["option_type_id", 197], ["position", 3], ["product_id", 345], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 196 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" = 197 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" = 197) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "large"], ["option_type_id", 197], ["position", 1], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 195 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.658080' WHERE "spree_products"."id" = 345 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 345], ["sku", "MV_003_1"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.659469' WHERE "spree_products"."id" = 345  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1101, 350)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1101, 354)  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1101, 349) Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 196 AND "spree_option_values"."name" = 'sepia' LIMIT 1 Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 196) ORDER BY position 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 07:16:18 UTC +00:00], ["name", "sepia"], ["option_type_id", 196], ["position", 3], ["presentation", nil], ["updated_at", Mon, 01 Oct 2012 07:16:18 UTC +00:00]] Spree::OptionValue Load (0.1ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = 197 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" = 195 AND "spree_option_values"."name" = 'jpeg' LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.666198' WHERE "spree_products"."id" = 345 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 345], ["sku", "MV_003_2"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.667527' WHERE "spree_products"."id" = 345  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1102, 355)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1102, 354)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1102, 349) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 345]] 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" = 345 AND "spree_option_types"."id" = 195 ORDER 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" = 195 AND "spree_option_values"."name" = 'PNG' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.676044' WHERE "spree_products"."id" = 345 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 345], ["sku", "MV_003_3"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.677421' WHERE "spree_products"."id" = 345  (0.0ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (352, 1103) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 345]] Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 345) 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" = 345 AND "spree_option_types"."id" = 195 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" = 195 AND "spree_option_values"."name" = 'PDF' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.688225' WHERE "spree_products"."id" = 345 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 345], ["sku", "MV_003_4"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.689888' WHERE "spree_products"."id" = 345  (0.1ms) INSERT INTO "spree_option_values_variants" ("option_value_id", "variant_id") VALUES (351, 1104) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 345]] 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.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" = 345 AND "spree_option_types"."id" = 196 ORDER 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" = 196 AND "spree_option_values"."name" = 'black_white' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.699017' WHERE "spree_products"."id" = 345 SQL (0.1ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cost_price", nil], ["count_on_hand", 0], ["deleted_at", nil], ["depth", nil], ["height", nil], ["is_master", false], ["position", nil], ["price", #], ["product_id", 345], ["sku", "MV_003_5"], ["weight", nil], ["width", nil]] SQL (0.1ms) UPDATE "spree_products" SET "updated_at" = '2012-10-01 07:16:18.700529' WHERE "spree_products"."id" = 345  (0.1ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1105, 353) Spree::Product Load (0.1ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT 1 [["id", 345]] Current value to assign : Spree::Variant Load (0.1ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 345) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 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.1ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 345) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 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" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.1ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (85.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" = 343 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.3ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 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" = 343 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" = 1094